Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit a68fdb8

Browse files
committed
Recursively parse pipelines.
1 parent 9d82885 commit a68fdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell/Parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Pipeline extends BranchNode {
7171
return [
7272
new Command(this.childTokens.slice(0, pipeIndex)),
7373
new ShellSyntaxNode(this.childTokens[pipeIndex]),
74-
new Command(this.childTokens.slice(pipeIndex + 1)),
74+
parse(this.childTokens.slice(pipeIndex + 1)),
7575
];
7676
}
7777
}

0 commit comments

Comments
 (0)