Use char instead of string for single char match
This commit is contained in:
parent
60b7dc4219
commit
a8f2e0cfd7
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ enum HopAction {
|
||||||
/// file.
|
/// file.
|
||||||
fn resolve_path(path: PathBuf, args: &str) -> Result<HopAction, BunBunError> {
|
fn resolve_path(path: PathBuf, args: &str) -> Result<HopAction, BunBunError> {
|
||||||
let output = Command::new(path.canonicalize()?)
|
let output = Command::new(path.canonicalize()?)
|
||||||
.args(args.split(" "))
|
.args(args.split(' '))
|
||||||
.output()?;
|
.output()?;
|
||||||
|
|
||||||
if output.status.success() {
|
if output.status.success() {
|
||||||
|
|
Loading…
Reference in a new issue