throw error

This commit is contained in:
Thomas Hobson 2021-04-23 14:32:05 +12:00
parent 890d9f024d
commit 46b1e9118d
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class Package {
if(!found_runtime){
logger.error(`Uninstalling ${this.language}-${this.version.raw} failed: Not installed`)
return
throw new Error(`${this.language}-${this.version.raw} is not installed`)
}
logger.debug("Unregistering runtime")