From 31721e5c29524742af26387dc87238d403db3e2d Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Tue, 22 Nov 2016 09:48:40 -0200 Subject: [PATCH] Use the correct EOL character based on the current OS --- lib/actions/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/actions/ui.js b/lib/actions/ui.js index aeafd779..8c32cd0d 100644 --- a/lib/actions/ui.js +++ b/lib/actions/ui.js @@ -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) )); }); });