Skip to content

Commit fb5c232

Browse files
committed
tidy
1 parent 98ce3bc commit fb5c232

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

  • packages/runtime/src/modules

packages/runtime/src/modules/repo.ts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,16 @@ export const install = async (
6060
}
6161

6262
if (forInstalling.length) {
63-
const flags = [
64-
'--no-audit',
65-
'--no-fund',
66-
'--no-package-lock',
67-
'--log-level verbose',
68-
];
63+
const flags = ['--no-audit', '--no-fund', '--no-package-lock'];
6964
const aliases = forInstalling.map(({ name, version }) => {
7065
const alias = `npm:${name}@${version}`;
7166
const aliasedName = `${name}_${version}`;
7267
return `${aliasedName}@${alias}`;
7368
});
7469
// TODO it would be nice to report something about what's going on under the hood here
75-
const { stdout, stderr } = await execFn(
76-
`npm install ${flags.join(' ')} ${aliases.join(' ')}`,
77-
{
78-
cwd: repoPath,
79-
}
80-
);
81-
console.log({ stdout, stderr });
70+
await execFn(`npm install ${flags.join(' ')} ${aliases.join(' ')}`, {
71+
cwd: repoPath,
72+
});
8273
log.success(
8374
`Installed ${forInstalling
8475
.map(({ name, version }) => `${name}@${version}`)

0 commit comments

Comments
 (0)