Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
tmpdir: remove if around throw err
  • Loading branch information
RaisinTen committed Jun 4, 2021
commit d0173e54e9329b23e4301a4992f32966fbf74e20
2 changes: 1 addition & 1 deletion test/common/tmpdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function rmSync(pathname) {
}
}

if (err !== null) throw err;
throw err;
}

const testRoot = process.env.NODE_TEST_DIR ?
Expand Down