-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
tools: make choco install script readable #54002
Conversation
Trailing backticks cannot be used here as the PowerShell command is invoked in the context of a batch file. The trailing caret |
|
The current issue is, in batch files, backticks can not be used as line continuation character. Carets (What I wrote about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" ^
-NoProfile ^
-InputFormat None ^
Ditto for rest of the lines
Co-Authored-By: sepehrst <sepehrst@users.noreply.github.com>
@nodejs/platform-windows to review the new changes |
Hey, could someone start a CI so that this can land? (It needs a CI, right?) |
CI LGTM |
Can someone commit-queue this please? |
Commit Queue failed- Loading data for nodejs/node/pull/54002 ✔ Done loading data for nodejs/node/pull/54002 ----------------------------------- PR info ------------------------------------ Title tools: make choco install script readable (#54002) Author Aviv Keller <redyetidev@gmail.com> (@RedYetiDev) Branch RedYetiDev:patch-86 -> nodejs:main Labels windows, install, tools, author ready, needs-ci, commit-queue-squash Commits 2 - tools: make choco install script readable - fix backticks Committers 1 - GitHub <noreply@github.com> PR-URL: https://github.com/nodejs/node/pull/54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - fix backticks ℹ This PR was created on Tue, 23 Jul 2024 10:55:23 GMT ✔ Approvals: 2 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/54002#pullrequestreview-2194777045 ✔ - Stefan Stojanovic (@StefanStojanovic): https://github.com/nodejs/node/pull/54002#pullrequestreview-2196297478 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-09-25T14:41:26Z: https://ci.nodejs.org/job/node-test-pull-request/62762/ - Querying data for job/node-test-pull-request/62762/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/11061465059 |
Landed in e8127db |
PR-URL: #54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
PR-URL: #54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
PR-URL: nodejs#54002 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
This PR improves the readability of the chocolatey install script by splitting the long command into multiple lines.