Skip to content

Commit

Permalink
Returning a default when a file has already been seen
Browse files Browse the repository at this point in the history
  • Loading branch information
rustedgrail committed Oct 22, 2012
1 parent ace2bcb commit 3f497a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/preprocessors.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ readFile = (file) ->
fullPath = path.resolve file
if !replacer.seenFile(fullPath)
replacer.addFileToList(fullPath)
data = fs.readFileSync(fullPath, 'utf-8')
fs.readFileSync(fullPath, 'utf-8')
else
''

exports.require = (files) ->
output = []
Expand Down

0 comments on commit 3f497a3

Please sign in to comment.