Skip to content

Commit

Permalink
fix: update the add-apt-repository llvm patch
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 26, 2025
1 parent 1193453 commit 035c062
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.13.0
22.13.1
2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"node": ">=12.x",
"pnpm": "^9"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"workspaces": [
"packages/*"
],
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/llvm_installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function debugScript(script: string) {
function nonInteractiveScript(script: string) {
// make the scirpt non-interactive and fix broken packages
return script.replace(
/add-apt-repository "\${REPO_NAME}"/g,
/add-apt-repository\s*(-y)?\s*"\${REPO_NAME}"/g,
`add-apt-repository -y -n "\${REPO_NAME}"
apt-get update -o ${aptTimeout} -y`,
)
Expand Down

0 comments on commit 035c062

Please sign in to comment.