Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 706be6c

Browse files
starpitk8s-ci-robot
authored andcommitted
fix(packages/core): core repl pipe-stage splitter fails for \ line continuations
1 parent 5c26730 commit 706be6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/repl/split.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const _split = (
8080
for (let idx = startIdx; idx < endIdx; idx++) {
8181
let char = str.charAt(idx)
8282

83-
if (char === splitBy) {
83+
if (splitBy === ' ' && char === splitBy) {
8484
if (
8585
process.platform === 'win32' &&
8686
idx < str.length - 3 &&

0 commit comments

Comments
 (0)