Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
javamxd committed Sep 5, 2021
2 parents f844f56 + 9b3e596 commit 4952e2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Output.prototype.get_code = function(eol) {
var sweet_code = this.__lines.join('\n');

if (eol === '\r\n') {
sweet_code = sweet_code.replaceAll(/([^\r])\n/g, `$1${eol}`);
sweet_code = sweet_code.replace(/([^\r])\n/g, `$1${eol}`);
}else if (eol !== '\n') {
sweet_code = sweet_code.replace(/[\n]/g, eol);
}
Expand Down

0 comments on commit 4952e2a

Please sign in to comment.