From 7d708d99a94437f0d480f5a2bfb7c93b31c1d8df Mon Sep 17 00:00:00 2001 From: Dave Geddes Date: Sun, 23 Jun 2013 22:01:09 -0600 Subject: [PATCH] fix this.data reference --- tasks/grunt-karma.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/grunt-karma.js b/tasks/grunt-karma.js index 055c9a6..22c9650 100644 --- a/tasks/grunt-karma.js +++ b/tasks/grunt-karma.js @@ -32,7 +32,7 @@ module.exports = function(grunt) { return; } //allow karma to be run in the background so it doesn't block grunt - if (this.data.background){ + if (data.background){ grunt.util.spawn({cmd: 'node', args: [path.join(__dirname, '..', 'lib', 'background.js'), JSON.stringify(data)]}, function(){}); done(); }