From f4a38a25c8702a91f2aa8b2c1271fe934a4f7b65 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 26 Apr 2012 23:38:42 -0400 Subject: [PATCH] lodash: Minor build.js cleanup. [jddalton] Former-commit-id: ca0ba49f4e1670196912cbbd237a3a1a8f72e2a7 --- build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.js b/build.js index 302837fb4..c74da191f 100755 --- a/build.js +++ b/build.js @@ -4,8 +4,8 @@ /** The Node filesystem, path, `zlib`, and child process modules */ var fs = require('fs'), - path = require('path'), gzip = require('zlib').gzip, + path = require('path'), spawn = require('child_process').spawn; /** The build directory containing the build scripts */ @@ -68,6 +68,7 @@ compiler.on('exit', function(status) { var exception = null; + // `status` contains the process exit code if (status) { exception = new Error(error);