A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/64bcf4cf09e284ca18988615ab8696b55d27d829 below:

only initialize workpaces when we are inside a workspace (… · npm/cli@64bcf4c · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -3,7 +3,6 @@

3 3

const { relative } = require('path')

4 4 5 5

const { definitions } = require('@npmcli/config/lib/definitions')

6 -

const getWorkspaces = require('./workspaces/get-workspaces.js')

7 6

const { aliases: cmdAliases } = require('./utils/cmd-list')

8 7

const log = require('./utils/log-shim.js')

9 8

@@ -170,6 +169,7 @@ class BaseCommand {

170 169

const relativeFrom = prefixInsideCwd ? this.npm.localPrefix : process.cwd()

171 170 172 171

const filters = this.npm.config.get('workspace')

172 +

const getWorkspaces = require('./workspaces/get-workspaces.js')

173 173

const ws = await getWorkspaces(filters, {

174 174

path: this.npm.localPrefix,

175 175

includeWorkspaceRoot,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4