Skip to content

Commit ad306b9

Browse files
committed
Removing quotes to get Windows tests passing
These paths still need to be escaped - will likely fail if tests are run when Encore is installed in a directory with spaces - but that's a chore for later
1 parent f825ded commit ad306b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bin/encore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = Encore.getWebpackConfig();
3939
);
4040

4141
const binPath = path.resolve(__dirname, '../', '../', 'bin', 'encore.js');
42-
exec(`node '${binPath}' dev --context='${testDir}'`, { cwd: testDir }, (err, stdout, stderr) => {
42+
exec(`node ${binPath} dev --context=${testDir}`, { cwd: testDir }, (err, stdout, stderr) => {
4343
if (err) {
4444
throw new Error(`Error executing encore: ${err} ${stderr} ${stdout}`);
4545
}

0 commit comments

Comments
 (0)