helper-bot: fix url escaping
This commit is contained in:
parent
37244db6dc
commit
b3edee0b4a
1 changed files with 1 additions and 1 deletions
2
.github/helper-bot/index.js
vendored
2
.github/helper-bot/index.js
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue