fix: don't fail on --color

ref #2069
This commit is contained in:
Zoltan Kochan
2019-10-09 23:49:02 +03:00
parent 07febf1102
commit 105de72691

View File

@@ -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<CLI_OPTIONS>(['filter', 'help', 'prefix'])
const GLOBAL_OPTIONS = new Set<CLI_OPTIONS>(['color', 'filter', 'help', 'prefix'])
const INSTALL_CLI_OPTIONS = new Set<CLI_OPTIONS>([
'child-concurrency',