Comparing version 2.1.1 to 2.1.2
@@ -9,7 +9,15 @@ #!/usr/bin/env node | ||
if (!(process.env.CI && GH_TOKEN && repo)) { | ||
console.log('[authorize-push] ignodered because condition not fullfillled (process.env.CI: %s, GH_TOKEN: %s, repo: %s)', !!process.env.CI, !!GH_TOKEN, !!repo) | ||
process.exit(1) | ||
} | ||
exec('git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ') | ||
exec('git config user.email o.gasidlo@gmail.com && ') | ||
exec('git config user.name "zoepage"') | ||
var commands = [ | ||
'git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ', | ||
'git config user.email o.gasidlo@gmail.com && ', | ||
'git config user.name "zoepage"' | ||
] | ||
commands.forEach(function (command) { | ||
console.log('[authorize-push] %s', command) | ||
exec(command) | ||
}) | ||
@@ -47,3 +47,3 @@ { | ||
}, | ||
"version": "2.1.1" | ||
"version": "2.1.2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38414
851
5