diff --git a/src/index.js b/src/index.js index 41cc5bb..a0efd07 100644 --- a/src/index.js +++ b/src/index.js @@ -52,8 +52,7 @@ process.on('SIGINT', cancelHandler) process.on('SIGTERM', cancelHandler) // Main -// Boolean inputs are stringified, but manually convert this input just in case that changes in the future. -const emitTelemetry = core.getInput("emit_telemetry").toString(); +const emitTelemetry = core.getInput("emit_telemetry") if (emitTelemetry === "true") { require('./pre') } else if (emitTelemetry === "false") {