From dd1cda50710c5c6e338de34b4dc192195cd36005 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 5 Aug 2019 11:47:09 -0400 Subject: [PATCH] Update --- lib/setup-node.js | 2 +- src/setup-node.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/setup-node.js b/lib/setup-node.js index 26d716a4..2ecfd685 100644 --- a/lib/setup-node.js +++ b/lib/setup-node.js @@ -33,7 +33,7 @@ function run() { } const registryUrl = core.getInput('registry-url'); if (registryUrl) { - auth.configAuth(registryUrl); + yield auth.configAuth(registryUrl); } // TODO: setup proxy from runner proxy config const matchersPath = path.join(__dirname, '..', '.github'); diff --git a/src/setup-node.ts b/src/setup-node.ts index c0387861..c15c8cff 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -17,7 +17,7 @@ async function run() { const registryUrl = core.getInput('registry-url'); if (registryUrl) { - auth.configAuth(registryUrl); + await auth.configAuth(registryUrl); } // TODO: setup proxy from runner proxy config