Use char instead of string for single char match

master
Edward Shen 2020-11-03 20:17:34 -05:00
parent 60b7dc4219
commit a8f2e0cfd7
Signed by: edward
GPG Key ID: F350507060ED6C90
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ enum HopAction {
/// file.
fn resolve_path(path: PathBuf, args: &str) -> Result<HopAction, BunBunError> {
let output = Command::new(path.canonicalize()?)
.args(args.split(" "))
.args(args.split(' '))
.output()?;
if output.status.success() {