From a215fa3484e8f19d673e7690e8859db84a8fee38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Fri, 7 Jun 2013 15:35:42 -0700 Subject: [PATCH] Cleanup lint warnings --- grunt/tasks/npm.js | 5 ++--- grunt/tasks/phantom.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/grunt/tasks/npm.js b/grunt/tasks/npm.js index becc96a8942de..8fe6b7ad32048 100644 --- a/grunt/tasks/npm.js +++ b/grunt/tasks/npm.js @@ -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) { @@ -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 diff --git a/grunt/tasks/phantom.js b/grunt/tasks/phantom.js index ff71f683c69a2..d5c66eb2589a8 100644 --- a/grunt/tasks/phantom.js +++ b/grunt/tasks/phantom.js @@ -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) {