Skip to content

Commit

Permalink
Fix incorrect windows line endings parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Aug 29, 2018
1 parent c04d444 commit 1f338b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ast-transform.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const reLines = /(.*?(?:\r\n?|\n|$))/gm;
const reLines = /(.*?(?:\n\r|\n|$))/gm;
const ALPHA = /[A-Za-z]/;
const WHITESPACE = /[\t\n\f ]/;

Expand Down

0 comments on commit 1f338b7

Please sign in to comment.