Skip to content

Commit 14ff94d

Browse files
committed
fix: force lines to be ended with lf, fix windows tests
1 parent c42acfc commit 14ff94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-babel/codemods/usePluginPreset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ module.exports = function (fileInfo, api) {
3737
node.value = { cooked: '@vue/cli-plugin-babel/preset', raw: '@vue/cli-plugin-babel/preset' }
3838
})
3939

40-
return root.toSource()
40+
return root.toSource({ lineTerminator: '\n' })
4141
}

0 commit comments

Comments
 (0)