Permalink
Browse files

fix bug when calling on directory / multiple files

  • Loading branch information...
1 parent 7d33035 commit 470c995113e76c834ad25aadc08c8e4d206fcbc8 @gerad committed Sep 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/nodeunit-dsl
View
@@ -1,2 +1,2 @@
#! /usr/bin/env bash
-time for f in $@; do find -X $f -name '*.js' -type f | xargs node; done
+time find "$@" -name '*.js' -type f -exec node \{} \;

0 comments on commit 470c995

Please sign in to comment.