@nx-tools/core
Advanced tools
Comparing version 1.0.0-alpha.11 to 1.0.0-alpha.12
@@ -7,6 +7,6 @@ { | ||
"license": "MIT", | ||
"version": "1.0.0-alpha.11", | ||
"version": "1.0.0-alpha.12", | ||
"dependencies": { | ||
"@actions/exec": "^1.0.0", | ||
"@nx-tools/ci": "^1.0.0-alpha.11", | ||
"@nx-tools/ci": "^1.0.0-alpha.12", | ||
"chalk": "^4.1.0" | ||
@@ -13,0 +13,0 @@ }, |
@@ -33,3 +33,3 @@ "use strict"; | ||
exports.getInput = (name, fallback, options) => { | ||
const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || fallback || ''; | ||
const val = process.env[`INPUT_${name.replace(/[ -]/g, '_').toUpperCase()}`] || fallback || ''; | ||
if (options && options.required && !val) { | ||
@@ -36,0 +36,0 @@ throw new Error(`Input required and not supplied: ${name}`); |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
16917
Updated@nx-tools/ci@^1.0.0-alpha.12