Repository navigation
fix(core): treat a word-initial # as a comment when splitting shell commands #11821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b2b5077
fix(core): treat a word-initial # as a comment when splitting shell c…
yiliang114 53fd793
fix(core): do not start a comment after an escaped boundary
yiliang114 9a977d8
fix(core): only treat IFS whitespace as a comment word boundary
yiliang114 f3cff68
Merge origin/main into fix/issue-11815-shell-comment-splitting
yiliang114 50459ae
fix(core): keep a # literal where bash does not tokenize a comment
yiliang114 84bd8ee
fix(core): scope comment detection to substituted bodies (#11821)
yiliang114 f8f5fef
fix(core): keep an arithmetic `)` out of the substitution depth
yiliang114 9023b45
Merge branch 'main' into fix/issue-11815-shell-comment-splitting
wenshao 20d53ca
test(core): pin that a process substitution is not a substituted body
yiliang114 5cdf8ca
fix(core): strip heredoc bodies on Bash-rule paths and drop comment-o…
yiliang114 5eb2dbe
style(core): satisfy the Prettier gate in permission-manager.test.ts
yiliang114 93fe54e
fix(core): keep Bash-rule evaluation from failing open on collapsed s…
yiliang114 4d1eb20
fix(core): keep the comment scan honest about continuations and neste…
yiliang114 7098e33
fix(core): refuse the heredoc projection when the marker line is cont…
yiliang114 9895c2a
Merge origin/main into fix/issue-11815-shell-comment-splitting
yiliang114 6492faf
fix(core): keep a body cd and an odd backslash run from hiding a deny
yiliang114 93a4101
fix(core): keep the expansions bash runs in an unquoted heredoc body
yiliang114 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.