mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Updated files after npm run build.
This commit is contained in:
parent
86b90110cb
commit
93745da978
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1156,7 +1156,7 @@ async function getManifestURL() {
|
||||
exports.getManifestURL = getManifestURL;
|
||||
async function parseVersion(version) {
|
||||
switch (true) {
|
||||
case /^(latest|nightly|\d+\.x)$/.test(version):
|
||||
case /^(latest|lowest|nightly|\d+\.x)$/.test(version):
|
||||
return JSON.parse((await fetch.fetch(await getManifestURL()))['data'])[version];
|
||||
default:
|
||||
switch (true) {
|
||||
|
Loading…
Reference in New Issue
Block a user