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:
can1357
2026-05-15 07:10:41 +02:00
parent d4f9b5d497
commit c7b2fec204
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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);
}