Skip to content

Commit 6a1902e

Browse files
committed
test: log the location of ng/npm/yarn being tested
1 parent d8032bc commit 6a1902e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/legacy-cli/e2e/initialize/300-log-environment.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ng } from '../utils/process';
1+
import { exec, ng } from '../utils/process';
22

33
export default async function () {
44
console.log('Environment:');
@@ -13,5 +13,6 @@ export default async function () {
1313
console.log(` ${envName}: ${process.env[envName]!.replace(/[\n\r]+/g, '\n ')}`);
1414
});
1515

16+
await exec('which', 'ng', 'yarn', 'npm');
1617
await ng('version');
1718
}

0 commit comments

Comments
 (0)