Skip to content

Commit

Permalink
Revert " Force line terminator to \\n on codemods tests"
Browse files Browse the repository at this point in the history
This reverts commit 6f0a469.
  • Loading branch information
incepter committed Jul 3, 2023
1 parent 6f0a469 commit a830410
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/codemods/src/v4/key-transformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ module.exports = (file, api) => {
// This function transforms usages of `QueryCache`.
transformQueryCacheUsages({ jscodeshift, utils, root, filePath })

return root.toSource({ quote: 'single', lineTerminator: '\n' })
return root.toSource({ quote: 'single' })
}
2 changes: 1 addition & 1 deletion packages/codemods/src/v4/replace-import-specifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ module.exports = (file, api) => {
})
})

return root.toSource({ quote: 'single', lineTerminator: '\n' })
return root.toSource({ quote: 'single' })
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ module.exports = (file, api) => {
},
})

return root.toSource({ quote: 'single', lineTerminator: '\n' })
return root.toSource({ quote: 'single' })
}

0 comments on commit a830410

Please sign in to comment.