Skip to content

Commit 334ee11

Browse files
committed
smoke_test: Remove --allow-dirty usage
Now that we commit our changes to the temporary git repository we don't need to use `--allow-dirty` anymore.
1 parent 61ad91a commit 334ee11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/crates_io_smoke_test/src/cargo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub async fn new_lib(parent_path: &Path, name: &str) -> anyhow::Result<()> {
1818
#[allow(unstable_name_collisions)]
1919
pub async fn package(project_path: &Path) -> anyhow::Result<()> {
2020
Command::new("cargo")
21-
.args(["package", "--allow-dirty"])
21+
.args(["package"])
2222
.current_dir(project_path)
2323
.env("CARGO_TERM_COLOR", "always")
2424
.status()
@@ -30,7 +30,7 @@ pub async fn package(project_path: &Path) -> anyhow::Result<()> {
3030
#[allow(unstable_name_collisions)]
3131
pub async fn publish(project_path: &Path, token: &SecretString) -> anyhow::Result<()> {
3232
Command::new("cargo")
33-
.args(["publish", "--registry", "staging", "--allow-dirty"])
33+
.args(["publish", "--registry", "staging"])
3434
.current_dir(project_path)
3535
.env("CARGO_TERM_COLOR", "always")
3636
.env(

0 commit comments

Comments
 (0)