From e035f0c08aba62ffceed847fa3aa226ee5855b4d Mon Sep 17 00:00:00 2001 From: koeneijkemans Date: Sat, 4 Jul 2020 18:43:20 +0200 Subject: [PATCH] await > yield --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0980c3c..e2ea1fd 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ try { } }; - yield execlib.exec('git', ['branch'], options) + await execlib.exec('git', ['branch'], options); core.setOutput("branchname", output); } catch (error) { core.setFailed(error.message);