diff --git a/scripts/publish.js b/scripts/publish.js index 656c78d02cd8..eb195f58f276 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -7,7 +7,7 @@ const resetdeps = () => npm('run', 'resetdeps') const op = () => spawn('op', 'item', 'get', 'npm', '--otp', { out: true, ok: true }) -const missingVersion = ({ name, version }) => { +const missingVersion = async ({ name, version }) => { const mani = await pacote.manifest(`${name}@${version}`, { preferOnline: true }) .catch(() => null) return !mani