fix: update the add-apt-repository llvm patch

This commit is contained in:
Amin Yahyaabadi 2025-01-25 22:51:40 -08:00
parent 119345363d
commit 035c0629d9
7 changed files with 7 additions and 7 deletions

2
.nvmrc
View File

@ -1 +1 @@
22.13.0
22.13.1

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -192,7 +192,7 @@
"node": ">=12.x",
"pnpm": "^9"
},
"packageManager": "pnpm@9.15.3",
"packageManager": "pnpm@9.15.4",
"workspaces": [
"packages/*"
],

View File

@ -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`,
)