Merge pull request #15 from fregante/patch-1

Actually await the promise returned by wait.js
This commit is contained in:
Bryan MacFarlane 2020-02-17 20:42:16 -05:00 committed by GitHub
commit 5eabdae304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ async function run() {
console.log(`Waiting ${ms} milliseconds ...`)
core.debug((new Date()).toTimeString())
wait(parseInt(ms));
await wait(parseInt(ms));
core.debug((new Date()).toTimeString())
core.setOutput('time', new Date().toTimeString());