fix(run-rs-task): always ran fmt:rs regardless of Rust-affecting changes
- Exempted the `fmt:rs` task from the early-exit skip logic so formatting always runs. - Reformatted `apply_command_env` signature in shell.rs to satisfy the formatter.
This commit is contained in:
@@ -48,7 +48,7 @@ if (!isRustTaskName(taskName)) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (!(isCI() || (await hasRustAffectingChanges()))) {
|
||||
if (taskName !== "fmt:rs" && !(isCI() || (await hasRustAffectingChanges()))) {
|
||||
console.log(`Skipping ${taskName} (not in CI and no Rust-affecting changes were found).`);
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user