Skip to content

Commit

Permalink
chore: reduce length of a common error message (#9089)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Oct 10, 2024
1 parent da94707 commit 0ed43ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions crates/cli/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,7 @@ and it requires clean working and staging areas, including no untracked files.
Check the current git repository's status with `git status`.
Then, you can track files with `git add ...` and then commit them with `git commit`,
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag.
If none of the previous steps worked, please open an issue at:
https://github.com/foundry-rs/foundry/issues/new/choose"
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag."
))
}
}
Expand Down
3 changes: 0 additions & 3 deletions crates/forge/tests/cli/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,6 @@ Check the current git repository's status with `git status`.
Then, you can track files with `git add ...` and then commit them with `git commit`,
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag.
If none of the previous steps worked, please open an issue at:
https://github.com/foundry-rs/foundry/issues/new/choose
"#]]);

// ensure nothing was emitted, dir is empty
Expand Down

0 comments on commit 0ed43ce

Please sign in to comment.