Skip to content

Commit 94a3be0

Browse files
authored
Update test-build-sea-custom-argv0.js
1 parent 3e0ab1d commit 94a3be0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/sea/test-build-sea-custom-argv0.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ const fixtures = require('../common/fixtures');
1313
const { copyFileSync } = require('fs');
1414

1515
const { spawnSyncAndAssert } = require('../common/child_process');
16-
17-
const fixturesDir = fixtures.path('sea', 'basic');
18-
const tempDir = tmpdir.path;
1916
tmpdir.refresh();
17+
2018
copyFileSync(
2119
fixtures.path('sea-config.json'),
2220
tmpdir.resolve('sea-config.json'),
@@ -30,7 +28,7 @@ copyFileSync(
3028
spawnSyncAndAssert(
3129
process.execPath,
3230
['--build-sea', tmpdir.resolve('sea-config.json')], {
33-
cwd: tempDir,
31+
cwd: tmpdir.path,
3432
argv0: 'argv0',
3533
}, {
3634
stdout: /Generated single executable/,

0 commit comments

Comments
 (0)