Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Close #449 PR: do not replace "/" with "/.DS_Store".
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpett authored and sindresorhus committed Oct 23, 2014
1 parent 62abec4 commit 68ab1a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/fileprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ FileProcessor.prototype.replaceWithRevved = function replaceWithRevved(lines, as

debug('Found file \'%s\'', file);

if (src === '/') {
return match;
}

var res = match.replace(src, filterOut(file));
if (srcFile !== file) {
self.log(match + ' changed to ' + res);
Expand Down

0 comments on commit 68ab1a0

Please sign in to comment.