fix(core): update

This commit is contained in:
Philipp Kunz 2018-12-23 18:54:16 +01:00
parent 52cc249098
commit c3ab527341
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{
"name": "@shipzone/npmci",
"version": "3.1.18",
"private": false,
"description": "node and docker in gitlab ci on steroids",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -53,6 +54,5 @@
"smartanalytics": "^2.0.9",
"smartsocket": "^1.1.19",
"through2": "^3.0.0"
},
"private": false
}
}

View File

@ -28,7 +28,7 @@ export let mirror = async () => {
const githubToken = process.env.NPMCI_GIT_GITHUBTOKEN;
const githubUser = process.env.NPMCI_GIT_GITHUBGROUP || repo.user;
const githubRepo = process.env.NPMCI_GIT_GITHUB || repo.repo;
if(configObject.projectInfo.npm.packageJson.private) {
if(configObject.projectInfo.npm.packageJson.private === true) {
logger.log('warn', `refusing to mirror due to private property`);
return;
}