mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 10:04:53 +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)
|
process.on('SIGTERM', cancelHandler)
|
||||||
|
|
||||||
// Main
|
// Main
|
||||||
// Boolean inputs are stringified, but manually convert this input just in case that changes in the future.
|
const emitTelemetry = core.getInput("emit_telemetry")
|
||||||
const emitTelemetry = core.getInput("emit_telemetry").toString();
|
|
||||||
if (emitTelemetry === "true") {
|
if (emitTelemetry === "true") {
|
||||||
require('./pre')
|
require('./pre')
|
||||||
} else if (emitTelemetry === "false") {
|
} else if (emitTelemetry === "false") {
|
||||||
|
|||||||
Reference in New Issue
Block a user