Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing Windows dev cruft

  • Loading branch information...
commit fabd6d2e4cfddc8337c8d0e38d369b185c161f42 1 parent fb0e301
@davglass davglass authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/module.js
View
5 lib/module.js
@@ -64,7 +64,6 @@ var Stack = require('./stack').Stack,
cssLint = true,
defaultLint = lint.defaults,
_exec = require('child_process').exec,
- _execFile = require('child_process').execFile,
rimraf = require('rimraf'),
jshintConfig = {},
lintFail = false,
@@ -637,7 +636,7 @@ var build = function (mod, name, options, callback) {
lintFail = options.fail;
lintSTDError = options['lint-stderr'];
mod.stamp = options.jsstamp;
-
+
log.info('deleting build dir: ' + path.join(buildDir, name || mod.name));
rimraf(path.join(buildDir, name || mod.name), stack.add(function() {
if (mod.jsfiles) {
@@ -692,7 +691,7 @@ var exec = function (exec, name, callback) {
var e = _exec, p, child, other,
cmdName = cmd.split(' ')[0];
if (path.extname(cmdName) === '.js') {
- cmd = '"' + process.argv[0] + '" ' + cmd;
+ cmd = '"' + process.argv[0] + '" ' + cmd;
} else {
if (cmdName === 'shifter') {
//Fixing the call to shifter..
Please sign in to comment.
Something went wrong with that request. Please try again.