Fix undefined check

This commit is contained in:
Sébastien Alfaiate 2023-06-30 10:47:53 +07:00 committed by GitHub
parent 06aeb295d6
commit 7f7010073a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}".`)