mirror of https://github.com/aminya/setup-cpp
fix: fix grantUserWriteAccess for cpprc
This commit is contained in:
parent
bb4056425a
commit
6a37ff7253
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -86,7 +86,7 @@
|
|||
"@types/semver": "^7.5.0",
|
||||
"@types/which": "^3.0.0",
|
||||
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
|
||||
"admina": "^0.2.1",
|
||||
"admina": "^0.2.2",
|
||||
"caxa": "^3.0.1",
|
||||
"ci-info": "^3.8.0",
|
||||
"ci-log": "workspace:*",
|
||||
|
|
|
@ -57,8 +57,8 @@ importers:
|
|||
specifier: github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519
|
||||
version: github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519(@babel/core@7.22.9)
|
||||
admina:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
specifier: ^0.2.2
|
||||
version: 0.2.2
|
||||
caxa:
|
||||
specifier: ^3.0.1
|
||||
version: 3.0.1
|
||||
|
@ -3081,8 +3081,8 @@ packages:
|
|||
which: 2.0.2
|
||||
dev: false
|
||||
|
||||
/admina@0.2.1:
|
||||
resolution: {integrity: sha512-Q8pZCB6I8Oog7+WS0zeIzCTctccwzj9srV/1dVslZZXSj7lJ8BibmhgOyrfFqkKIezH+AwoEBQFRSjkuiZbFNg==}
|
||||
/admina@0.2.2:
|
||||
resolution: {integrity: sha512-njzaCdbco0KeGGPpY9Ze/aXaBjQKUVczDKfAjPQRGXzroqEGUZzw9JMf3tS1d78gtG0sU8SY39ErU2KS4qfGVQ==}
|
||||
dependencies:
|
||||
execa: 5.1.1
|
||||
is-admin: 4.0.0
|
||||
|
|
|
@ -211,10 +211,6 @@ export async function finalizeCpprc() {
|
|||
|
||||
writeFileSync(cpprc_path, unique_entries.join("\n"))
|
||||
|
||||
try {
|
||||
await grantUserWriteAccess(cpprc_path)
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue