Skip to content

Commit 82670fb

Browse files
committed
ci: add localhost to unsafeHttpWhitelist in Yarn config
1 parent 1377330 commit 82670fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/template/initialize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function install() {
8383
process.stdout.write('Published every package \u2705\n');
8484

8585
execSync(
86-
`node cli.js init ${templateName} --directory ${directory} --template ${templateConfigPath} --verbose --skip-install --yarn-config-options npmRegistryServer="${NPM_REGISTRY_SERVER}"`,
86+
`node cli.js init ${templateName} --directory ${directory} --template ${templateConfigPath} --verbose --skip-install --yarn-config-options npmRegistryServer="${NPM_REGISTRY_SERVER}",unsafeHttpWhitelist="--json '[\"localhost\"]'"`,
8787
{
8888
cwd: `${reactNativeRootPath}/packages/react-native`,
8989
stdio: [process.stdin, process.stdout, process.stderr],

0 commit comments

Comments
 (0)