Skip to content

Commit

Permalink
chore: remove get-project-scope utils
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqu authored and wraithgar committed Nov 22, 2021
1 parent 940ba87 commit 5f4040a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 72 deletions.
5 changes: 0 additions & 5 deletions lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const which = require('which')
const deref = require('./utils/deref-command.js')
const setupLog = require('./utils/setup-log.js')
const cleanUpLogFiles = require('./utils/cleanup-log-files.js')
const getProjectScope = require('./utils/get-project-scope.js')

let warnedNonDashArg = false
const _load = Symbol('_load')
Expand Down Expand Up @@ -249,10 +248,6 @@ class Npm extends EventEmitter {
this.config.set('scope', `@${configScope}`, this.config.find('scope'))
}
process.emit('timeEnd', 'npm:load:configScope')

process.emit('time', 'npm:load:projectScope')
this.projectScope = this.config.get('scope') || getProjectScope(this.prefix)
process.emit('timeEnd', 'npm:load:projectScope')
}

get flatOptions () {
Expand Down
19 changes: 0 additions & 19 deletions lib/utils/get-project-scope.js

This file was deleted.

48 changes: 0 additions & 48 deletions test/lib/utils/get-project-scope.js

This file was deleted.

0 comments on commit 5f4040a

Please sign in to comment.