Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions grunt/tasks/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

var assert = require("assert");
var path = require("path");
var fs = require("fs");
var tmp = require("tmp");
var grunt = require("grunt");
var spawn = grunt.util.spawn;

module.exports = function() {
var config = this.data;
var done = this.async();

function run(cmd, args, opts, callback) {
Expand All @@ -25,7 +23,8 @@ module.exports = function() {

grunt.log.writeln("> " + cmd + " " + args.join(" "));

var proc = spawn({
// var proc =
spawn({
cmd: cmd,
args: args,
opts: opts
Expand Down
2 changes: 1 addition & 1 deletion grunt/tasks/phantom.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function run(config, done) {
}

args.push("--tests");
var tests = grunt.file.expand({
grunt.file.expand({
nonull: true,
cwd: "src"
}, config.tests || []).forEach(function(file) {
Expand Down