From 21db2862c744e81a01dc912b1a14315a8cd53323 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Mon, 18 Jan 2016 16:22:54 -0800 Subject: [PATCH] Fix build info reading for console --- console/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/main.js b/console/src/main.js index ba0f172566..9435c8ecb6 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -54,7 +54,7 @@ function getBuildInfo() { if (buildInfoPath) { console.log('Build info path:', buildInfoPath); try { - buildInfo = fs.readFileSync(buildInfoPath); + buildInfo = JSON.parse(fs.readFileSync(buildInfoPath)); } catch (e) { buildInfo = DEFAULT_BUILD_INFO; }