Skip to content

Commit 0ed43ce

Browse files
authored
chore: reduce length of a common error message (#9089)
1 parent da94707 commit 0ed43ce

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

crates/cli/src/utils/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,7 @@ and it requires clean working and staging areas, including no untracked files.
463463
464464
Check the current git repository's status with `git status`.
465465
Then, you can track files with `git add ...` and then commit them with `git commit`,
466-
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag.
467-
468-
If none of the previous steps worked, please open an issue at:
469-
https://github.com/foundry-rs/foundry/issues/new/choose"
466+
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag."
470467
))
471468
}
472469
}

crates/forge/tests/cli/cmd.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,6 @@ Check the current git repository's status with `git status`.
261261
Then, you can track files with `git add ...` and then commit them with `git commit`,
262262
ignore them in the `.gitignore` file, or run this command again with the `--no-commit` flag.
263263
264-
If none of the previous steps worked, please open an issue at:
265-
https://github.com/foundry-rs/foundry/issues/new/choose
266-
267264
"#]]);
268265

269266
// ensure nothing was emitted, dir is empty

0 commit comments

Comments
 (0)