kopia lustrzana https://github.com/backface/turtlestitch
fixed a fix
rodzic
8ba7c180c9
commit
b270058cf6
|
@ -2501,7 +2501,7 @@ Process.prototype.reportTextSplit = function (string, delimiter) {
|
||||||
if (!contains(types, delType)) {
|
if (!contains(types, delType)) {
|
||||||
throw new Error('expecting a text delimiter instead of a ' + delType);
|
throw new Error('expecting a text delimiter instead of a ' + delType);
|
||||||
}
|
}
|
||||||
str = isNil(string) ? '' string.toString();
|
str = isNil(string) ? '' : string.toString();
|
||||||
switch (this.inputOption(delimiter)) {
|
switch (this.inputOption(delimiter)) {
|
||||||
case 'line':
|
case 'line':
|
||||||
// Unicode compliant line splitting (platform independent)
|
// Unicode compliant line splitting (platform independent)
|
||||||
|
|
Ładowanie…
Reference in New Issue