From 50a7d323fb35123d061cc8ca89c3fae2b08d65b5 Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 3 Nov 2022 13:55:25 -0700 Subject: [PATCH] chore: re-add async to function (#5812) --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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