Permalink
Browse files

Fixed some lint issues

  • Loading branch information...
1 parent e94aea2 commit 4d640e1bbecafdd8ea543efe6d35cd989417e04c @davglass committed Sep 5, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/module.js
View
@@ -13,6 +13,7 @@ var Stack = require('./stack').Stack,
noop = function () {},
tasks = require('./tasks'),
lint = require('yui-lint'),
+ which = require('which').sync,
Queue = require('gear').Queue,
Registry = require('gear').Registry,
registry,
@@ -594,7 +595,7 @@ var exec = function (exec, name, callback) {
exec.forEach(function (cmd) {
log.info('executing ' + cmd);
- var e = _exec, p;
+ var e = _exec, p, child;
if (path.extname(cmd) === '.js') {
e = _execFile;
} else {
@@ -609,7 +610,7 @@ var exec = function (exec, name, callback) {
}
}
- var child = e(cmd, {
+ child = e(cmd, {
cwd: process.cwd()
}, stack.add(function (error, stdout, stderr) {
if (stderr) {

0 comments on commit 4d640e1

Please sign in to comment.