Skip to content

Commit 035c062

Browse files
committed
fix: update the add-apt-repository llvm patch
1 parent 1193453 commit 035c062

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.13.0
1+
22.13.1

dist/legacy/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

+1-1
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

+1-1
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"node": ">=12.x",
193193
"pnpm": "^9"
194194
},
195-
"packageManager": "[email protected].3",
195+
"packageManager": "[email protected].4",
196196
"workspaces": [
197197
"packages/*"
198198
],

src/llvm/llvm_installer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function debugScript(script: string) {
8888
function nonInteractiveScript(script: string) {
8989
// make the scirpt non-interactive and fix broken packages
9090
return script.replace(
91-
/add-apt-repository "\${REPO_NAME}"/g,
91+
/add-apt-repository\s*(-y)?\s*"\${REPO_NAME}"/g,
9292
`add-apt-repository -y -n "\${REPO_NAME}"
9393
apt-get update -o ${aptTimeout} -y`,
9494
)

0 commit comments

Comments
 (0)