Skip to content

Commit

Permalink
Add an eslint config and update the code to match it.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwadhams committed Nov 2, 2016
1 parent 4da053f commit 44ec618
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
var gulp = require('gulp'),
exec = require('child_process').exec;
gulp.task('test', function(cb) {
exec(
'node testrunner.js',
{ cwd : 'tests' },
function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
}
);
var gulp = require("gulp");
var exec = require("child_process").exec;

gulp.task("test", function(cb) {
exec(
"node testrunner.js",
{cwd: "tests"},
function(err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
}
);
});

gulp.task('default', function() {
gulp.watch(['**/*.js', 'tests/tests.json'], ['test']);
gulp.task("default", function() {
gulp.watch(["**/*.js", "tests/tests.json"], ["test"]);
});

0 comments on commit 44ec618

Please sign in to comment.