Skip to content

Commit 2970a5d

Browse files
committed
Silence lockfile strict mode warnings on uninstall
1 parent f2fcbd6 commit 2970a5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cli/commands/uninstall.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export async function run(
3434
let step = 0;
3535

3636
async function runInstall() {
37-
let lockfile = await Lockfile.fromDirectory(config.cwd, reporter, {});
37+
let lockfile = await Lockfile.fromDirectory(config.cwd, reporter, {
38+
silent: true
39+
});
3840
let install = new Install("uninstall", flags, [], config, new NoopReporter, lockfile);
3941
await install.init();
4042
return install;

0 commit comments

Comments
 (0)