feat: update import type
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
5b11be11da
commit
476f7acc39
@ -210,7 +210,7 @@ export class MiaoScriptPackageManager extends interfaces.Plugin {
|
||||
if (!process.env.AccessToken) { return this.i18n(sender, 'deploy.token.not.exists') }
|
||||
this.taskManager.create(() => {
|
||||
if (this.checkPlugin(sender, name)) {
|
||||
let plugin: interfaces.Plugin = this.pluginManager.getPlugins().get(name);
|
||||
let plugin: pluginApi.Plugin = this.pluginManager.getPlugins().get(name);
|
||||
let result = http.post("http://ms.yumc.pw/api/plugin/deploy?access_token=" + process.env.AccessToken, {
|
||||
name,
|
||||
author: plugin.description.author,
|
||||
|
Loading…
Reference in New Issue
Block a user