mirror of
https://github.com/deployphp/action.git
synced 2025-04-01 19:06:35 +00:00
Fix undefined check
This commit is contained in:
parent
06aeb295d6
commit
7f7010073a
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -94,7 +94,7 @@ async function dep() {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (url === null) {
|
if (url === 'undefined') {
|
||||||
console.error(`The version "${version}"" does not exist in the "https://deployer.org/manifest.json" file."`)
|
console.error(`The version "${version}"" does not exist in the "https://deployer.org/manifest.json" file."`)
|
||||||
} else {
|
} else {
|
||||||
console.log(`Downloading "${url}".`)
|
console.log(`Downloading "${url}".`)
|
||||||
|
|
Loading…
Add table
Reference in a new issue