unexpected
Advanced tools
Comparing version 10.10.4 to 10.10.5
@@ -359,3 +359,3 @@ var utils = require('./utils'); | ||
fallback: function () { | ||
if (line === '' && ch !== ' ') { | ||
if (line === '' && ch !== ' ' && (i === 0 || i !== lines.length - 1)) { | ||
this[ch === '+' ? 'diffAddedSpecialChar' : 'diffRemovedSpecialChar']('\\n'); | ||
@@ -362,0 +362,0 @@ } |
@@ -25,3 +25,3 @@ var utils = require('./utils'); | ||
this.parent = parent || null; | ||
this.name = 'Error'; | ||
this.name = 'UnexpectedError'; | ||
} | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "unexpected", | ||
"version": "10.10.4", | ||
"version": "10.10.5", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
748564