mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +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 */
|
/** The Node filesystem, path, `zlib`, and child process modules */
|
||||||
var fs = require('fs'),
|
var fs = require('fs'),
|
||||||
path = require('path'),
|
|
||||||
gzip = require('zlib').gzip,
|
gzip = require('zlib').gzip,
|
||||||
|
path = require('path'),
|
||||||
spawn = require('child_process').spawn;
|
spawn = require('child_process').spawn;
|
||||||
|
|
||||||
/** The build directory containing the build scripts */
|
/** The build directory containing the build scripts */
|
||||||
@@ -68,6 +68,7 @@
|
|||||||
|
|
||||||
compiler.on('exit', function(status) {
|
compiler.on('exit', function(status) {
|
||||||
var exception = null;
|
var exception = null;
|
||||||
|
|
||||||
// `status` contains the process exit code
|
// `status` contains the process exit code
|
||||||
if (status) {
|
if (status) {
|
||||||
exception = new Error(error);
|
exception = new Error(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user