lodash: Minor build.js cleanup. [jddalton]

Former-commit-id: ca0ba49f4e1670196912cbbd237a3a1a8f72e2a7
This commit is contained in:
John-David Dalton
2012-04-26 23:38:42 -04:00
parent dcb62a3df5
commit f4a38a25c8

View File

@@ -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);