From 289d470491c41353611bacc588f0c4f7db0b2eec Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 17 Feb 2019 18:50:27 -0800 Subject: [PATCH] test: remove unnecessary default tmpdir value in test `tmpdir.path` will never be falsy so there is no need to guard against that. --- test/parallel/test-pipe-file-to-http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-pipe-file-to-http.js b/test/parallel/test-pipe-file-to-http.js index 4bc71069da413f..9b99ddb675de41 100644 --- a/test/parallel/test-pipe-file-to-http.js +++ b/test/parallel/test-pipe-file-to-http.js @@ -29,7 +29,7 @@ const path = require('path'); const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); -const filename = path.join(tmpdir.path || '/tmp', 'big'); +const filename = path.join(tmpdir.path, 'big'); let count = 0; const server = http.createServer((req, res) => {