mirror of https://github.com/aminya/setup-cpp.git
fix: update the add-apt-repository llvm patch
This commit is contained in:
parent
119345363d
commit
035c0629d9
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
|
|
@ -192,7 +192,7 @@
|
|||
"node": ">=12.x",
|
||||
"pnpm": "^9"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.3",
|
||||
"packageManager": "pnpm@9.15.4",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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`,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue