This commit is contained in:
Bung 2020-07-25 15:52:29 +08:00 • committed by GitHub
commit 2dddf32726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -486,6 +486,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
of "project":
processOnOffSwitchG(conf, {optWholeProject, optGenIndex}, arg, pass, info)
of "gc":
if conf.backend == backendJs:
return
expectArg(conf, switch, arg, pass, info)
if pass in {passCmd2, passPP}:
case arg.normalize