Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #1

Merged
merged 17 commits into from
Jul 30, 2024
Prev Previous commit
Next Next commit
.
StephenHodgson committed Jul 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a435eec32c89a14e1a351c763e4397d24d2490cc
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
@@ -26229,7 +26229,7 @@ async function save_upm_config(registry_url, auth_token) {
await fs.writeFile(upm_config_toml_path, '');
}
if (process.platform !== 'win32') {
await fs.chmod(upm_config_toml_path, 0o644);
await fs.chmod(upm_config_toml_path, 0o600);
}
const upm_config_toml = await fs.readFile(upm_config_toml_path, 'utf-8');
if (!upm_config_toml.includes(registry_url)) {
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/upm_config.js
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ async function save_upm_config(registry_url, auth_token) {
await fs.writeFile(upm_config_toml_path, '');
}
if (process.platform !== 'win32') {
await fs.chmod(upm_config_toml_path, 0o644);
await fs.chmod(upm_config_toml_path, 0o600);
}
const upm_config_toml = await fs.readFile(upm_config_toml_path, 'utf-8');
if (!upm_config_toml.includes(registry_url)) {