Use the correct EOL character based on the current OS

This commit is contained in:
Matheus Fernandes 2016-11-22 09:48:40 -02:00
parent d34765faa6
commit 31721e5c29
No known key found for this signature in database
GPG key ID: DD07CA4EA7B65C4F

View file

@ -1,3 +1,5 @@
import {EOL} from 'os';
import * as shellEscape from 'php-escape-shell'; import * as shellEscape from 'php-escape-shell';
import last from '../utils/array'; import last from '../utils/array';
import isExecutable from '../utils/file'; import isExecutable from '../utils/file';
@ -224,7 +226,7 @@ export function showPreferences() {
...message, ...message,
command, command,
'' ''
].join('\n\r') ].join(EOL)
)); ));
}); });
}); });