From cc4f6114b1e87ff4851160da8b260072bd5040ea Mon Sep 17 00:00:00 2001 From: Sid Vishnoi <8426945+sidvishnoi@users.noreply.github.com> Date: Fri, 10 Sep 2021 19:02:54 +0530 Subject: [PATCH] fix(prepare/build): correctly map BUILD_FAIL_ON for respec --- src/prepare-build.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/prepare-build.ts b/src/prepare-build.ts index f6d6cdd..085d66b 100644 --- a/src/prepare-build.ts +++ b/src/prepare-build.ts @@ -343,6 +343,9 @@ function getFailOnFlags( return ["-w"]; case "everything": return ["-e", "-w"]; + case "nothing": + default: + return []; } } case "bikeshed": {