Add catch

This commit is contained in:
Anton Medvedev 2020-11-10 23:05:39 +01:00
parent 13c2ed42a5
commit d2f712fdfb

@ -3,8 +3,12 @@ const fs = require('fs')
const execa = require('execa') const execa = require('execa')
void function main() { void function main() {
try {
ssh() ssh()
dep() dep()
} catch (err) {
core.setFailed(err.message)
}
}() }()
function ssh() { function ssh() {