Skip to content

Commit 2bb4c25

Browse files
committed
add missing note prefix
1 parent a201041 commit 2bb4c25

File tree

1 file changed

+3
-2
lines changed
  • crates/volta-core/src/tool

1 file changed

+3
-2
lines changed

crates/volta-core/src/tool/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,15 @@ pub fn check_shim_reachable(shim_name: &str) {
205205
Ok(resolved) => resolved,
206206
Err(_) => {
207207
info!(
208-
"Cannot find command {}. Please ensure that {} is at the front of your PATH.",
208+
"{} cannot find command {}. Please ensure that {} is at the front of your PATH.",
209+
note_prefix(),
209210
shim_name,
210211
shim.display()
211212
);
212213
return;
213214
}
214215
};
215216
if resolved != shim {
216-
info!("{} is shadowed by another binary of the same name at {}. Please ensure that {} is at the front of your PATH.", shim_name, resolved.display(), shim.display());
217+
info!("{} {} is shadowed by another binary of the same name at {}. Please ensure that {} is at the front of your PATH.", note_prefix(), shim_name, resolved.display(), shim.display());
217218
}
218219
}

0 commit comments

Comments
 (0)