Skip to content

Commit 6b0a479

Browse files
committed
add transform notes
1 parent 351a0cc commit 6b0a479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

transform-find-promise-all-foreach.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Find all codes like Promise.all(SOME_VAR.forEach())
3+
* It won't modify your file
34
*/
45

56
import {
@@ -88,5 +89,5 @@ module.exports = function (fileInfo: FileInfo, { j }: API, options: Options) {
8889
return null;
8990
});
9091

91-
return rootCollection.toSource();
92+
return undefined;
9293
};

0 commit comments

Comments
 (0)