We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439ef85 commit cc6ca5eCopy full SHA for cc6ca5e
1 file changed
src/index.ts
@@ -11,7 +11,7 @@ module.exports = function index(
11
options: Options
12
): string | null | undefined | void {
13
const ast = options.noRecastWorkaround
14
- ? api.jscodeshift(fileInfo.source).get()
+ ? api.jscodeshift(fileInfo.source).get().value
15
: recast.parse(fileInfo.source, {
16
parser: require('recast/parsers/babel'),
17
})
0 commit comments