diff --git a/src/cli/commands/global.js b/src/cli/commands/global.js index 0923e82562..ee1d7c352d 100644 --- a/src/cli/commands/global.js +++ b/src/cli/commands/global.js @@ -176,9 +176,7 @@ const {run, setFlags: _setFlags} = buildSubCommands('global', { args: Array, ): Promise { await updateCwd(config); - const updateBins = await initUpdateBins(config, reporter, flags); - if (args.includes('yarn')) { reporter.warn(reporter.lang('packageContainsYarnAsGlobal'));