From 86c2b1009bc80bec8912fcada2789f51378be497 Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Wed, 20 May 2020 16:07:35 -0400 Subject: [PATCH] fix: await install step --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 38571195..12f97d26 100644 --- a/src/index.js +++ b/src/index.js @@ -145,7 +145,7 @@ const hasRecordKey = () => typeof process.env.CYPRESS_RECORD_KEY === 'string' module.exports = { onPreBuild: async (arg) => { - install(arg) + await install(arg) debug('cypress plugin preBuild inputs %o', arg.inputs) const preBuildInputs = arg.inputs && arg.inputs.preBuild