From 0ec6486a24791315db0270207b1f6095183e966f Mon Sep 17 00:00:00 2001 From: David Goldstein Date: Mon, 7 May 2018 21:59:01 +0000 Subject: [PATCH] fix lint --- test/es-module/test-esm-preserve-symlinks-main.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/es-module/test-esm-preserve-symlinks-main.js b/test/es-module/test-esm-preserve-symlinks-main.js index 9da3050cda0dbe..fbca5dce743674 100644 --- a/test/es-module/test-esm-preserve-symlinks-main.js +++ b/test/es-module/test-esm-preserve-symlinks-main.js @@ -16,7 +16,7 @@ fs.mkdirSync(path.join(tmpDir, 'nested2')); const entry = path.join(tmpDir, 'nested', 'entry.js'); const entry_link_absolute_path = path.join(tmpDir, 'link.js'); const submodule = path.join(tmpDir, 'nested2', 'submodule.js'); -const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js') +const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js'); fs.writeFileSync(entry, ` const assert = require('assert'); @@ -40,7 +40,10 @@ function doTest(flags, done) { // the symlink, and not relative to the symlink target; the file structure set // up above requires this to not crash when loading ./submodule_link.js spawn(process.execPath, - flags.concat(['--preserve-symlinks', '--preserve-symlinks-main', entry_link_absolute_path]), + flags.concat([ + '--preserve-symlinks', + '--preserve-symlinks-main', entry_link_absolute_path + ]), { stdio: 'inherit' }).on('exit', (code) => { assert.strictEqual(code, 0); done(); @@ -52,4 +55,3 @@ doTest([], () => { // now test the new loader doTest(['--experimental-modules'], () => {}); }); -