Skip to content
Browse files

lint fixes

  • Loading branch information...
1 parent 8603f75 commit 47d4deb067137f9dc2dad92b6e6a6b3c7ffdd680 @davglass davglass committed Sep 27, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/builder.js
View
11 lib/builder.js
@@ -4,14 +4,13 @@ Code licensed under the BSD License:
http://yuilibrary.com/license/
*/
var path = require('path'),
- fs = require('fs'),
log = require('./log'),
noop = function () {},
timer = require('./timer'),
which = require('which').sync,
spawn = require('child_process').spawn,
Stack = require('./stack').Stack,
- module = require('./module');
+ smodule = require('./module');
var has = function (opt, name) {
return opt.some(function (v) {
@@ -80,7 +79,7 @@ exports.start = function (json, options, skip) {
post(json, callback);
});
} else if (json.postexec && options.exec) {
- module.exec(json.postexec, function () {
+ smodule.exec(json.postexec, function () {
delete json.postexec;
post(json, callback);
});
@@ -99,7 +98,7 @@ exports.start = function (json, options, skip) {
if (json.exec && !skip && options.exec) {
log.info('found a global exec, shifting it');
- module.exec(json.exec, function () {
+ smodule.exec(json.exec, function () {
exports.start(json, options, true);
});
return;
@@ -121,7 +120,7 @@ exports.start = function (json, options, skip) {
}
if (!options.modules || has(options.modules, name)) {
log.info('shifting into gear for ' + name);
- module.build(mod, name, options, stack.add(noop));
+ smodule.build(mod, name, options, stack.add(noop));
}
});
@@ -140,7 +139,7 @@ exports.start = function (json, options, skip) {
});
}
});
- module.rollup(rollups, function () {
+ smodule.rollup(rollups, function () {
post(json, end);
});
} else {

0 comments on commit 47d4deb

Please sign in to comment.
Something went wrong with that request. Please try again.