From 691777c3c8b89e21e8fd7fc5cc66d6773cea138b Mon Sep 17 00:00:00 2001 From: Christopher Bond Date: Wed, 29 Mar 2017 15:29:51 -0400 Subject: [PATCH] Set a nonzero exit code if render fails --- source/bin/render.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/bin/render.ts b/source/bin/render.ts index b055a43..e1d0a50 100644 --- a/source/bin/render.ts +++ b/source/bin/render.ts @@ -30,6 +30,8 @@ const execute = async () => { } catch (exception) { log.error(`Failed to render application: ${exception.toString()}`); + + process.exitCode = 1; } finally { application.dispose();