We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f396fe2 commit 4c44920Copy full SHA for 4c44920
src/__tests__/runTransformation.spec.ts
@@ -39,7 +39,7 @@ const addUseStrict: Transform = (file, api, options) => {
39
body[0].comments = body[1].comments
40
delete body[1].comments
41
42
- return root.toSource(options.printOptions || { quote: 'single' })
+ return root.toSource(options.printOptions || { quote: 'single', lineTerminator: '\n' })
43
}
44
45
describe('run-transformation', () => {
0 commit comments