Skip to content

feat: support backticks#147

Merged
dsherret merged 3 commits intodenoland:mainfrom
dsherret:feat_support_backticks
Apr 10, 2025
Merged

feat: support backticks#147
dsherret merged 3 commits intodenoland:mainfrom
dsherret:feat_support_backticks

Conversation

@dsherret
Copy link
Member

@dsherret dsherret commented Apr 9, 2025

Backticks are just command substitution, so no execution changes are necessary.

For denoland/deno#28807

@dsherret dsherret requested a review from Copilot April 9, 2025 22:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/parser.rs:1499

  • Review the updated error message for backticks within double quotes to ensure it provides clear guidance to users encountering this parsing failure.
Err("Failed parsing within double quotes. Expected closing backtick."),

@dsherret dsherret requested a review from nathanwhit April 9, 2025 22:43
parse_error_failure.message.as_str(),
}
),
);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These errors are slightly sloppy because it may be parsing an owned value, but this is good enough for now. We can improve this over time.

Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit fe78353 into denoland:main Apr 10, 2025
4 checks passed
@dsherret dsherret deleted the feat_support_backticks branch April 10, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants