Navigation Menu

Skip to content

Commit

Permalink
Fixed a bug with fs walking
Browse files Browse the repository at this point in the history
  • Loading branch information
matehat committed Mar 18, 2013
1 parent e0591f4 commit 462b7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/source.coffee
Expand Up @@ -119,8 +119,8 @@ class Source
walker = walk.walk (rpath = join @path, ''), followLinks: true
walker.on 'file', (root, stat, next) =>
fpath = join root[rpath.length+1..], stat.name
return unless @test fpath
cb fpath
if @test fpath
cb fpath
next()

walker.on 'end', end if end?
Expand Down

0 comments on commit 462b7df

Please sign in to comment.