The library for web and native user interfaces.
Cleanup lint warnings
Paul O’Shannessy committed
Jun 7, 2013 at 15:35 UTC
cb01363260b6e43981c286cac9818a13dc1e6a91
2 files changed
+3
-4
grunt/tasks/npm.js
+2
-3
@@ -2,13 +2,11 @@
2
3
var assert = require("assert");
4
var path = require("path");
5
-var fs = require("fs");
5
var tmp = require("tmp");
6
var grunt = require("grunt");
7
var spawn = grunt.util.spawn;
8
9
module.exports = function() {
11
- var config = this.data;
10
var done = this.async();
11
12
function run(cmd, args, opts, callback) {
@@ -25,7 +23,8 @@ module.exports = function() {
23
24
grunt.log.writeln("> " + cmd + " " + args.join(" "));
25
28
- var proc = spawn({
26
+ // var proc =
27
+ spawn({
28
cmd: cmd,
29
args: args,
30
opts: opts
grunt/tasks/phantom.js
+1
-1
@@ -38,7 +38,7 @@ function run(config, done) {
38
}
39
40
args.push("--tests");
41
- var tests = grunt.file.expand({
41
+ grunt.file.expand({
42
nonull: true,
43
cwd: "src"
44
}, config.tests || []).forEach(function(file) {