Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Apr 12, 2024
1 parent a0469d7 commit 303ba67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/shell/interpreter.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10244,9 +10244,7 @@ pub const Interpreter = struct {
}

pub fn onShellCpTaskDone(this: *Cp, task: *ShellCpTask) void {
if (comptime bun.Environment.allow_assert) {
std.debug.assert(this.state == .exec);
}
assert(this.state == .exec);
this.state.exec.tasks_count -= 1;
// ShellCpTask deinitializes itself inside
// the node_fs code: AsyncCpTask.finishConcurrently()
Expand Down

0 comments on commit 303ba67

Please sign in to comment.