diff --git a/src/main.ts b/src/main.ts index b5ca20f0..34a3fd30 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,14 +59,14 @@ async function run(): Promise { axios .post(msTeamsWebhookUri, messageCard) - .then(function(response) { + .then(function (response) { console.log(response) core.debug(response.data) }) - .catch(function(error) { + .catch(function (error) { core.debug(error) }) - } catch (error) { + } catch (error: any) { console.log(error) core.setFailed(error.message) }