Remove internal debugging from @actions/core

This commit is contained in:
James M. Greene
2022-09-09 18:54:00 -05:00
parent 9b78820d58
commit e7d22decca
4 changed files with 2 additions and 6 deletions

2
dist/index.js vendored
View File

@@ -220,8 +220,6 @@ exports.addPath = addPath;
*/
function getInput(name, options) {
const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
process.stdout.write(`@actions/core getInput(${JSON.stringify(name)}): ${JSON.stringify(val)}\n`)
process.stdout.write(`process.env = ${JSON.stringify(process.env)}\n`)
if (options && options.required && !val) {
throw new Error(`Input required and not supplied: ${name}`);
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -220,8 +220,6 @@ exports.addPath = addPath;
*/
function getInput(name, options) {
const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
process.stdout.write(`@actions/core getInput(${JSON.stringify(name)}): ${JSON.stringify(val)}\n`)
process.stdout.write(`process.env = ${JSON.stringify(process.env)}\n`)
if (options && options.required && !val) {
throw new Error(`Input required and not supplied: ${name}`);
}

File diff suppressed because one or more lines are too long