Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c44920

Browse files
author
ygj6
authored
fix: Add lineterminator option (#17)
1 parentf396fe2 commit4c44920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/__tests__/runTransformation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const addUseStrict: Transform = (file, api, options) => {
3939
body[0].comments=body[1].comments
4040
deletebody[1].comments
4141

42-
returnroot.toSource(options.printOptions||{quote:'single'})
42+
returnroot.toSource(options.printOptions||{quote:'single',lineTerminator:'\n'})
4343
}
4444

4545
describe('run-transformation',()=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp