From ba4f81dcad3364b734e650e093839ea51710c955 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Tue, 6 Dec 2016 10:09:02 +0000 Subject: [PATCH] Fix safeExecFileSync not returning output (#725) --- scripts/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers.js b/scripts/helpers.js index 71968438..491847d3 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -90,7 +90,7 @@ function getMetadataValidatorBinaryPaths(rootPath) { function safeExecFileSync(file, args, options) { try { - childProcess.execFileSync(file, args, options); + return childProcess.execFileSync(file, args, options); } catch (error) { throw new Error(error.message); }