Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Apr 6, 2024
1 parent ee434b0 commit dd6d728
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,9 @@ function templateInner(
if (exprs.length > i) {
try {
const expr = exprs[i];
if (expr == null) {
throw "Expression was null or undefined.";
}
const inputOrOutputRedirect = detectInputOrOutputRedirect(text);
if (inputOrOutputRedirect === "<") {
if (expr instanceof Path) {
Expand Down

0 comments on commit dd6d728

Please sign in to comment.