Skip to content

Commit 0ec6486

Browse files
author
David Goldstein
committed
fix lint
1 parent 4d8cfdd commit 0ec6486

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/es-module/test-esm-preserve-symlinks-main.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fs.mkdirSync(path.join(tmpDir, 'nested2'));
1616
const entry = path.join(tmpDir, 'nested', 'entry.js');
1717
const entry_link_absolute_path = path.join(tmpDir, 'link.js');
1818
const submodule = path.join(tmpDir, 'nested2', 'submodule.js');
19-
const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js')
19+
const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js');
2020

2121
fs.writeFileSync(entry, `
2222
const assert = require('assert');
@@ -40,7 +40,10 @@ function doTest(flags, done) {
4040
// the symlink, and not relative to the symlink target; the file structure set
4141
// up above requires this to not crash when loading ./submodule_link.js
4242
spawn(process.execPath,
43-
flags.concat(['--preserve-symlinks', '--preserve-symlinks-main', entry_link_absolute_path]),
43+
flags.concat([
44+
'--preserve-symlinks',
45+
'--preserve-symlinks-main', entry_link_absolute_path
46+
]),
4447
{ stdio: 'inherit' }).on('exit', (code) => {
4548
assert.strictEqual(code, 0);
4649
done();
@@ -52,4 +55,3 @@ doTest([], () => {
5255
// now test the new loader
5356
doTest(['--experimental-modules'], () => {});
5457
});
55-

0 commit comments

Comments
 (0)