mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-07 07:27:06 -04:00
fix: --parseable may be used with any command
This commit is contained in:
@@ -34,7 +34,14 @@ import pnpmCmds, {
|
||||
import './logging/fileLogger'
|
||||
import initReporter, { ReporterType } from './reporter'
|
||||
|
||||
const GLOBAL_OPTIONS = R.pick(['color', 'filter', 'help', 'dir', 'prefix'], allTypes)
|
||||
const GLOBAL_OPTIONS = R.pick([
|
||||
'color',
|
||||
'dir',
|
||||
'filter',
|
||||
'help',
|
||||
'parseable',
|
||||
'prefix',
|
||||
], allTypes)
|
||||
|
||||
const RENAMED_OPTIONS = {
|
||||
'lockfile-directory': 'lockfile-dir',
|
||||
|
||||
Reference in New Issue
Block a user