Skip to content

Commit adcc860

Browse files
committed
chore: try to normalize echo between OSes
1 parent 8df73bc commit adcc860

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/auto-install/test/yarn-bare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test('yarn, bare', async (t) => {
2323
},
2424
plugins: [
2525
// mock the call to yarn here. yarn has had consistent issues in this test env
26-
autoInstall({ manager: 'yarn', commands: { yarn: 'echo "yarn.bare" > yarn.lock' } }),
26+
autoInstall({ manager: 'yarn', commands: { yarn: 'echo yarn.bare > yarn.lock' } }),
2727
resolve()
2828
]
2929
});

packages/auto-install/test/yarn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test('yarn', async (t) => {
2222
format: 'cjs'
2323
},
2424
// mock the call to yarn here. yarn has had consistent issues in this test env
25-
plugins: [autoInstall({ commands: { yarn: 'echo "yarn" > yarn.lock' } }), resolve()]
25+
plugins: [autoInstall({ commands: { yarn: 'echo yarn > yarn.lock' } }), resolve()]
2626
});
2727
const lockFile = readFileSync('yarn.lock', 'utf-8');
2828
t.snapshot(lockFile.replace(/\r\n/g, '\n'));

0 commit comments

Comments
 (0)