From b3ed61556466bb6cce311388a623ed3d81138b6a Mon Sep 17 00:00:00 2001 From: soulgalore Date: Tue, 25 Oct 2016 07:02:37 +0200 Subject: [PATCH] only check if the budget is failing if we configures a budget #1267 --- bin/sitespeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sitespeed.js b/bin/sitespeed.js index b7c8ab1cb..e8ebf7fd8 100755 --- a/bin/sitespeed.js +++ b/bin/sitespeed.js @@ -36,7 +36,7 @@ return sitespeed.run(parsed.options) } }) .then(() => { - if (!budgetFailing) { + if (parsed.options.budget && !budgetFailing) { process.exitCode = 0; } })