When a config containing any shell command (execute action) is triggered without the use of the --unsafe flag, a CLI interrogative interrupts the routine with a warning and asks, Do you approve? (YES/no):. This should be more like Do you approve? (y/N).
Use something like answer.strip.match(/[y|Y|yes|YES]/) to reject everything else.