Babel cli fix recursion in file mode (#8418)

* added test case

* remove unnessecary parameter

* check for type directory as well in readRecursive filter
This commit is contained in:
Jan Schmidle
2018-08-03 18:06:27 +02:00
committed by Logan Smyth
parent 8173b6e694
commit cb51704745
7 changed files with 25 additions and 6 deletions

View File

@@ -0,0 +1 @@
(() => 42)

View File

@@ -0,0 +1 @@
arr.map(x => x * MULTIPLIER);

View File

@@ -0,0 +1,3 @@
{
"args": ["src", "--out-file", "test.js"]
}

View File

@@ -0,0 +1,10 @@
"use strict";
(function () {
return 42;
});
"use strict";
arr.map(function (x) {
return x * MULTIPLIER;
});