Skip to content

Commit 5e8e426

Browse files
committed
Ignore node_modules in cwd.
1 parent b2f78ba commit 5e8e426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codemods/v6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
module.exports = function transform({ path, source }, api) {
11-
if (path.includes("/node_modules/")) return
11+
if (path.includes("node_modules/")) return
1212

1313
const j = api.jscodeshift
1414
const root = j(source)

codemods/v8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
const helperNames = ["Initial", "Pending", "Fulfilled", "Rejected", "Settled"]
1111

1212
module.exports = function transform({ path, source }, api) {
13-
if (path.includes("/node_modules/")) return
13+
if (path.includes("node_modules/")) return
1414

1515
const j = api.jscodeshift
1616
const root = j(source)

0 commit comments

Comments
 (0)