mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Use the correct EOL character based on the current OS
This commit is contained in:
parent
d34765faa6
commit
31721e5c29
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import {EOL} from 'os';
|
||||
|
||||
import * as shellEscape from 'php-escape-shell';
|
||||
import last from '../utils/array';
|
||||
import isExecutable from '../utils/file';
|
||||
|
|
@ -224,7 +226,7 @@ export function showPreferences() {
|
|||
...message,
|
||||
command,
|
||||
''
|
||||
].join('\n\r')
|
||||
].join(EOL)
|
||||
));
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue