-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dry run missing tasks with no script (#6473)
### Description #6466 broke `test/edit-turbo-json/task.t` as it moved the dry run execution to happen after we early exit when commands don't exist. This PR moves the branching to happen before the early exit and avoids performing some of the work that's necessary for a real run, but unneeded for dry run. I don't love the level of nesting in the `visit` function, but it'll do for now. ### Testing Instructions `tests/edit-turbo-json/task.t` now passes on the Rust codepath. Closes TURBO-1682 --------- Co-authored-by: Chris Olszewski <Chris Olszewski>
- Loading branch information
1 parent
d46face
commit a8dcfb6
Showing
3 changed files
with
78 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters