Permalink
Browse files

remove node_modules hack

  • Loading branch information...
Steve Howell
Steve Howell committed Jan 29, 2012
1 parent f4349b8 commit 172ace30719bfe26cd802d1293bb83478971d35e
Showing with 1 addition and 2 deletions.
  1. +1 −2 file_utils.coffee
View
@@ -31,9 +31,8 @@ split_file = (fn) ->
[parts, root, ext]
get_files = (dir, regex) ->
# HACK: just exclude node_modules for now
matcher = (fn) ->
fn.match(regex) and !fn.match(/node_modules/)
fn.match(regex)
files = []
walk dir, matcher, (fn) -> files.push fn
files

0 comments on commit 172ace3

Please sign in to comment.