fix(core): update
This commit is contained in:
parent
103e470eb4
commit
77e3b2912d
@ -47,14 +47,14 @@ const prepare = async () => {
|
|||||||
|
|
||||||
if (npmrcFileString.length > 0) {
|
if (npmrcFileString.length > 0) {
|
||||||
logger.log('info', 'found one or more access tokens');
|
logger.log('info', 'found one or more access tokens');
|
||||||
logger.log('info', `setting default npm registry to ${config.npmRegistryUrl}`);
|
|
||||||
await bash(`npm set registry https:${config.npmRegistryUrl}`);
|
|
||||||
} else {
|
} else {
|
||||||
logger.log('error', 'no access token found! Exiting!');
|
logger.log('error', 'no access token found! Exiting!');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.smartfile.memory.toFsSync(npmrcFileString, '/root/.npmrc');
|
plugins.smartfile.memory.toFsSync(npmrcFileString, '/root/.npmrc');
|
||||||
|
logger.log('info', `setting default npm registry to ${config.npmRegistryUrl}`);
|
||||||
|
await bash(`npm set registry https:${config.npmRegistryUrl}`);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user