From 105de726919cf447757d680a93ecb7c4bc30320d Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Wed, 9 Oct 2019 23:49:02 +0300 Subject: [PATCH] fix: don't fail on --color ref #2069 --- packages/pnpm/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pnpm/src/main.ts b/packages/pnpm/src/main.ts index eb953d4024..b0306d373d 100644 --- a/packages/pnpm/src/main.ts +++ b/packages/pnpm/src/main.ts @@ -60,6 +60,7 @@ type CANONICAL_COMMAND_NAMES = 'help' type CLI_OPTIONS = 'access' | 'background' | 'bail' + | 'color' | 'child-concurrency' | 'depth' | 'dev' @@ -127,7 +128,7 @@ type CLI_OPTIONS = 'access' | 'workspace-concurrency' | 'workspace-prefix' -const GLOBAL_OPTIONS = new Set(['filter', 'help', 'prefix']) +const GLOBAL_OPTIONS = new Set(['color', 'filter', 'help', 'prefix']) const INSTALL_CLI_OPTIONS = new Set([ 'child-concurrency',