This commit is contained in:
peter
2019-08-04 01:43:57 +02:00
parent c607061a85
commit 32dcb99503
+3 -2
View File
@@ -132,8 +132,9 @@ export default class PluginManager extends ConfigLoader<PluginManagerConfig&Plug
async downloadPlugin(pluginName: string) {
try {
let version = await this.getLatestVersion(pluginName)
if(this.conf[pluginName] != null && version == this.conf[pluginName]!["installed"]){
logger.info(version)
if(this.conf[pluginName] != null && version === this.conf[pluginName]!["installed"].raw){
logger.info(pluginName, version, "already installed. skipping", this.conf[pluginName]!["installed"])
return
}