Skip to content

Commit

Permalink
fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Jun 12, 2024
1 parent 06c62bd commit 1ba489e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,11 @@ pub fn subcommand(config: &mut Config, cmd: Info) {
};
};

config
.profiles
.push(RefCell::new(Profile::new(name.trim().into(), path, platform.to_string())));
config.profiles.push(RefCell::new(Profile::new(
name.trim().into(),
path,
platform.to_string(),
)));
config.current_profile = Some(name.trim().into());
done!("Profile added");
}
Expand Down

0 comments on commit 1ba489e

Please sign in to comment.