@bobfrankston/npmglobalize 1.0.106 → 1.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib.js +1 -1
- package/package.json +1 -1
package/lib.js
CHANGED
|
@@ -2132,7 +2132,7 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
|
|
|
2132
2132
|
}
|
|
2133
2133
|
else {
|
|
2134
2134
|
console.log(`Changing GitHub repo visibility to ${targetVis}...`);
|
|
2135
|
-
const visResult = runCommand('gh', ['repo', 'edit', '--visibility', targetVis], { cwd, silent: true });
|
|
2135
|
+
const visResult = runCommand('gh', ['repo', 'edit', '--visibility', targetVis, '--accept-visibility-change-consequences'], { cwd, silent: true });
|
|
2136
2136
|
if (visResult.success) {
|
|
2137
2137
|
console.log(colors.green(`✓ GitHub repo is now ${targetVis.toUpperCase()}`));
|
|
2138
2138
|
}
|