Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
matrix:
toolchain:
# Oldest supported nightly
- nightly-2024-03-10
- nightly-2024-09-01
- nightly

continue-on-error: ${{ matrix.toolchain == 'nightly' }}
Expand Down
1 change: 1 addition & 0 deletions src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@
Self::Build(cmd) => Some(cmd),
Self::Run(cmd) => Some(cmd),
Self::Test(cmd) => Some(cmd),
Self::New(cmd) => Some(cmd),
_ => None,
}
}
Expand Down Expand Up @@ -508,7 +509,7 @@
}

// `cargo config get` exits zero if the config exists, or nonzero otherwise
cmd.status().map_or(false, |status| status.success())

Check warning on line 512 in src/command.rs

View workflow job for this annotation

GitHub Actions / lint (stable)

this `map_or` can be simplified
});

if self.build_args.verbose {
Expand Down
Loading