Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 9, 2016
1 parent 2367175 commit 9d42ba7
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tasks/nette_tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,38 @@ module.exports = function(grunt) {
jobs: null,
colors: null,
quiet: false,
}), args = [];
}), args = [];

if (options.phpBin) {
if (options.phpBin) {
args.push('-p', options.phpBin);
}
if (options.phpIni) {
}
if (options.phpIni) {
args.push('-c', options.phpIni);
}
if (options.log) {
args.push('-log', options.log);
}
}
if (options.log) {
args.push('--log', options.log);
}
Object.keys(options.ini).forEach(function(value) {
args.push('-d', value + '=' + options.ini[value]);
});
if (options.skipped) {
if (options.skipped) {
args.push('-s');
}
if (options.tap) {
}
if (options.tap) {
args.push('--tap');
}
if (options.jobs) {
}
if (options.jobs) {
args.push('-j', options.jobs);
}
if (options.colors !== null) {
}
if (options.colors !== null) {
args.push('--colors', +options.colors);
}
if (options.setup) {
}
if (options.setup) {
args.push('--setup', options.setup);
}
this.filesSrc.forEach(function(path) {
}
this.filesSrc.forEach(function(path) {
args.push(path);
});
});

grunt.log.writeln('Starting Nette Tester');
grunt.verbose.writeln('Exec: ' + options.bin, args);
Expand Down

0 comments on commit 9d42ba7

Please sign in to comment.