Skip to content

Commit

Permalink
Update alerts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Dec 23, 2016
1 parent 9f06ff6 commit 51e6477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scout-files/_scripts/alerts.js
Expand Up @@ -79,9 +79,9 @@
.replace(/[\n\r]/g, '<br />')
.replace(file, '');

var extraReturn = '';
if (ugui.platform == 'linux') {
extraReturn = '\n';
var extraReturn = '\n';
if (ugui.platform == 'win32') {
extraReturn = '';
}

// Make sure there are at least 3 lines in the file and the error isn't on the first or last line
Expand Down

0 comments on commit 51e6477

Please sign in to comment.