From 9e5d08ee587e3f81ad506150c5865d58c846ebe3 Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 3 Nov 2022 13:53:11 -0700 Subject: [PATCH] chore: re-add async to function --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.js b/scripts/publish.js index 656c78d02cd83..eb195f58f2769 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