Merge pull request #15 from fregante/patch-1
Actually await the promise returned by wait.js
This commit is contained in:
@@ -9,7 +9,7 @@ async function run() {
|
|||||||
console.log(`Waiting ${ms} milliseconds ...`)
|
console.log(`Waiting ${ms} milliseconds ...`)
|
||||||
|
|
||||||
core.debug((new Date()).toTimeString())
|
core.debug((new Date()).toTimeString())
|
||||||
wait(parseInt(ms));
|
await wait(parseInt(ms));
|
||||||
core.debug((new Date()).toTimeString())
|
core.debug((new Date()).toTimeString())
|
||||||
|
|
||||||
core.setOutput('time', new Date().toTimeString());
|
core.setOutput('time', new Date().toTimeString());
|
||||||
|
|||||||
Reference in New Issue
Block a user