fix: fix grantUserWriteAccess for cpprc

This commit is contained in:
Amin Yahyaabadi 2023-09-11 11:47:10 -07:00
parent bb4056425a
commit 6a37ff7253
9 changed files with 15 additions and 19 deletions

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

View File

@ -86,7 +86,7 @@
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@types/which": "^3.0.0", "@types/which": "^3.0.0",
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519", "@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", "caxa": "^3.0.1",
"ci-info": "^3.8.0", "ci-info": "^3.8.0",
"ci-log": "workspace:*", "ci-log": "workspace:*",

View File

@ -57,8 +57,8 @@ importers:
specifier: github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519 specifier: github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519
version: github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519(@babel/core@7.22.9) version: github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519(@babel/core@7.22.9)
admina: admina:
specifier: ^0.2.1 specifier: ^0.2.2
version: 0.2.1 version: 0.2.2
caxa: caxa:
specifier: ^3.0.1 specifier: ^3.0.1
version: 3.0.1 version: 3.0.1
@ -3081,8 +3081,8 @@ packages:
which: 2.0.2 which: 2.0.2
dev: false dev: false
/admina@0.2.1: /admina@0.2.2:
resolution: {integrity: sha512-Q8pZCB6I8Oog7+WS0zeIzCTctccwzj9srV/1dVslZZXSj7lJ8BibmhgOyrfFqkKIezH+AwoEBQFRSjkuiZbFNg==} resolution: {integrity: sha512-njzaCdbco0KeGGPpY9Ze/aXaBjQKUVczDKfAjPQRGXzroqEGUZzw9JMf3tS1d78gtG0sU8SY39ErU2KS4qfGVQ==}
dependencies: dependencies:
execa: 5.1.1 execa: 5.1.1
is-admin: 4.0.0 is-admin: 4.0.0

View File

@ -211,10 +211,6 @@ export async function finalizeCpprc() {
writeFileSync(cpprc_path, unique_entries.join("\n")) writeFileSync(cpprc_path, unique_entries.join("\n"))
try {
await grantUserWriteAccess(cpprc_path) await grantUserWriteAccess(cpprc_path)
} catch {
// ignore
}
} }
} }