summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-11-20 15:16:12 +0100
committerjmoenig <jens@moenig.org>2014-11-20 15:16:12 +0100
commitce93fe8da73738e67683fa9cbfe7741de62f5336 (patch)
treebdc2f5acc8ae377786ae557cd0c1501bbbd9e9b2 /threads.js
parent4768102b098281d4f2462d4c4b0fe8b5cf228ef6 (diff)
downloadsnap-byow-ce93fe8da73738e67683fa9cbfe7741de62f5336.tar.gz
snap-byow-ce93fe8da73738e67683fa9cbfe7741de62f5336.zip
fix ‘line’ option in ‘split’ block for Windows files
thanks, @brianharvey!
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/threads.js b/threads.js
index f210380..11b72dc 100644
--- a/threads.js
+++ b/threads.js
@@ -2126,7 +2126,7 @@ Process.prototype.reportTextSplit = function (string, delimiter) {
str = (string || '').toString();
switch (this.inputOption(delimiter)) {
case 'line':
- del = '\n';
+ del = '\r?\n';
break;
case 'tab':
del = '\t';