fix
This commit is contained in:
@@ -132,8 +132,9 @@ export default class PluginManager extends ConfigLoader<PluginManagerConfig&Plug
|
|||||||
async downloadPlugin(pluginName: string) {
|
async downloadPlugin(pluginName: string) {
|
||||||
try {
|
try {
|
||||||
let version = await this.getLatestVersion(pluginName)
|
let version = await this.getLatestVersion(pluginName)
|
||||||
|
logger.info(version)
|
||||||
if(this.conf[pluginName] != null && version == this.conf[pluginName]!["installed"]){
|
if(this.conf[pluginName] != null && version === this.conf[pluginName]!["installed"].raw){
|
||||||
|
logger.info(pluginName, version, "already installed. skipping", this.conf[pluginName]!["installed"])
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user