UNPKG
falafel-new-acorn
Version:
latest (2.0.0)
2.0.0
transform the ast on a recursive walk
github.com/kaltsimon/node-falafel
kaltsimon/node-falafel
falafel-new-acorn
/
test
/
bin
/
run.js
11 lines
(9 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
path =
require
(
'path'
);
var
glob =
require
(
'glob'
);
for
(
var
i =
2
; i < process.
argv
.
length
; i++) {
glob
(process.
argv
[i],
function
(
er, files
) { files.
forEach
(
function
(
file
) {
require
(path.
resolve
(process.
cwd
(), file)); }); }); }