Added an async await
All checks were successful
Lint / pre-commit Linting (push) Successful in 48s

This commit is contained in:
Philipp Horstenkamp 2025-04-22 00:47:33 +02:00
parent b421097f6b
commit bb83d5493a
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -1,7 +1,7 @@
const { ScreepsAPI } = require("screeps-api"); const { ScreepsAPI } = require("screeps-api");
const core = require("@actions/core"); const core = require("@actions/core");
const fs = require("fs"); const fs = require("fs");
const { glob } = require("glob"); const glob = require("glob");
const path = require("path"); const path = require("path");
/** /**
@ -214,4 +214,6 @@ async function postCode() {
} }
} }
postCode(); postCode().catch((err) => {
core.setFailed(err.message || err);
});