Skip to content

Commit

Permalink
Replace error message with a more useful one (Schniz#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonifra authored Oct 10, 2021
1 parent 4968552 commit fa72f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/use.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fn warn_if_multishell_path_not_in_path_env_var(
"{} {}\n{}\n{}",
"warning:".yellow().bold(),
"The current Node.js path is not on your PATH environment variable.".yellow(),
"Have you set up your shell profile to evaluate `fnm env`?".yellow(),
"You should setup your shell profile to evaluate `fnm env`, see https://github.com/Schniz/fnm#shell-setup on how to do this".yellow(),
"Check out our documentation for more information: https://fnm.vercel.app".yellow()
);
}
Expand All @@ -179,7 +179,7 @@ pub enum Error {
#[snafu(display(
"{}\n{}\n{}",
"We can't find the necessary environment variables to replace the Node version.",
"Have you set up your shell profile to evaluate `fnm env`?",
"You should setup your shell profile to evaluate `fnm env`, see https://github.com/Schniz/fnm#shell-setup on how to do this",
"Check out our documentation for more information: https://fnm.vercel.app"
))]
FnmEnvWasNotSourced,
Expand Down

0 comments on commit fa72f0c

Please sign in to comment.