Skip to content

Commit c18484f

Browse files
committed
fs: removing unnecessary assignment
1 parent d449b8e commit c18484f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/fs.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ function rethrow() {
4545
if (err) {
4646
backtrace.stack = err.name + ': ' + err.message +
4747
backtrace.stack.substr(backtrace.name.length);
48-
err = backtrace;
49-
throw err;
48+
throw backtrace;
5049
}
5150
};
5251
}

0 commit comments

Comments
 (0)