mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
lodash: Minor build.js cleanup. [jddalton]
Former-commit-id: ca0ba49f4e1670196912cbbd237a3a1a8f72e2a7
This commit is contained in:
3
build.js
3
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);
|
||||
|
||||
Reference in New Issue
Block a user