Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Sep 24, 2019
1 parent 42d3481 commit 18e3bdf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,10 @@ module.exports = function(grunt) {
)

this.data.forEach(function(fileObj) {
var sourceFile = grunt.file.read(fileObj.src),
removedFile = sourceFile.replace(removalRegEx, ''),
targetFile = grunt.file.write(fileObj.dest, removedFile)
var sourceFile = grunt.file.read(fileObj.src)
var removedFile = sourceFile.replace(removalRegEx, '')

grunt.file.write(fileObj.dest, removedFile)
}) // for each loop end
})
}

0 comments on commit 18e3bdf

Please sign in to comment.