mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: remove unnecessary async from waitFor
utility (#2654)
This commit is contained in:
parent
5d4166b139
commit
c1b30acbb3
@ -49,7 +49,7 @@ exports.setAnsiColors = function setAnsiColors(ansiHTML) {
|
||||
})
|
||||
}
|
||||
|
||||
exports.waitFor = async function waitFor(ms) {
|
||||
exports.waitFor = function waitFor(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms || 0))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user