Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sjhewitt committed Oct 23, 2015
1 parent 506dc54 commit efbb6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/lib/jshint.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ exports.init = function(grunt) {
var reporterOutputDir;
// Get reporter output directory for relative paths in reporters
if (options.hasOwnProperty('reporterOutput')) {
if(options.reporterOutputRelative) {
if (options.reporterOutputRelative) {
reporterOutputDir = path.dirname(options.reporterOutput);
}
delete options.reporterOutput;
Expand Down Expand Up @@ -196,7 +196,7 @@ exports.init = function(grunt) {
var allData = [];
cliOptions.args = files;
cliOptions.reporter = function(results, data) {
if(reporterOutputDir) {
if (reporterOutputDir) {
results.forEach(function(datum) {
datum.file = path.relative(reporterOutputDir, datum.file);
});
Expand Down

0 comments on commit efbb6f6

Please sign in to comment.