Skip to content

Commit 818b280

Browse files
Trottrvagg
authored andcommittedFeb 28, 2019
test: remove unnecessary default tmpdir value in test
`tmpdir.path` will never be falsy so there is no need to guard against that. PR-URL: #26177 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Weijia Wang <[email protected]>
1 parent 823f0ce commit 818b280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/parallel/test-pipe-file-to-http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const path = require('path');
2929
const tmpdir = require('../common/tmpdir');
3030
tmpdir.refresh();
3131

32-
const filename = path.join(tmpdir.path || '/tmp', 'big');
32+
const filename = path.join(tmpdir.path, 'big');
3333
let count = 0;
3434

3535
const server = http.createServer((req, res) => {

0 commit comments

Comments
 (0)
Please sign in to comment.