From b3edee0b4aeeee7ce3619b01db0bccdc758bab90 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Mon, 9 Aug 2021 23:19:08 -0400 Subject: [PATCH] helper-bot: fix url escaping --- .github/helper-bot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/helper-bot/index.js b/.github/helper-bot/index.js index 63e3988..39fd32c 100644 --- a/.github/helper-bot/index.js +++ b/.github/helper-bot/index.js @@ -85,7 +85,7 @@ function getProtocolVersion () { } async function fetchLatest () { - if (!fs.existsSync('./results.json')) cp.execSync(`curl -L ${latestVesionEndpoint} -o results.json`, { stdio: 'inherit', shell: true }) + if (!fs.existsSync('./results.json')) cp.execSync(`curl -L "${latestVesionEndpoint}" -o results.json`, { stdio: 'inherit', shell: true }) const json = require('./results.json') const result = json.results[0] // console.log(json)