Skip to content

Commit

Permalink
Fixes #1729: Fix running the build on Windows (files with \r\n)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jan 6, 2020
1 parent ea43fa2 commit 38b4e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -476,7 +476,7 @@ function addPluginDTS() {
}

function toExternalDTS(contents) {
let lines = contents.split('\n');
let lines = contents.split(/\r\n|\r|\n/);
let killNextCloseCurlyBrace = false;
for (let i = 0; i < lines.length; i++) {
let line = lines[i];
Expand Down

0 comments on commit 38b4e2e

Please sign in to comment.