mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
Only emit telemetry when the emit_telemetry input is truthy
This commit is contained in:
@@ -52,4 +52,8 @@ process.on('SIGINT', cancelHandler)
|
||||
process.on('SIGTERM', cancelHandler)
|
||||
|
||||
// Main
|
||||
main()
|
||||
if (core.getInput("emit_telemetry")) {
|
||||
require('./pre')
|
||||
} else {
|
||||
main()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user