mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +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;
|
exports.getManifestURL = getManifestURL;
|
||||||
async function parseVersion(version) {
|
async function parseVersion(version) {
|
||||||
switch (true) {
|
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];
|
return JSON.parse((await fetch.fetch(await getManifestURL()))['data'])[version];
|
||||||
default:
|
default:
|
||||||
switch (true) {
|
switch (true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user