mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
Don't bother converting action input to string
This has been an established pattern with Actions for a long time; we don't have to worry about it changing. Co-authored-by: James M. Greene <JamesMGreene@github.com>
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user