fix(kb.gbapp): Fix importing packages.
This commit is contained in:
parent
e436c6e896
commit
f980d54761
1 changed files with 4 additions and 1 deletions
|
@ -700,8 +700,11 @@ export class GBDeployer implements IGBDeployer {
|
|||
const service = new KBService(this.core.sequelize);
|
||||
rimraf.sync(localPath);
|
||||
|
||||
return await service.undeployKbFromStorage(instance, this, p.packageId);
|
||||
if (p){
|
||||
await service.undeployKbFromStorage(instance, this, p.packageId);
|
||||
}
|
||||
|
||||
return;
|
||||
case '.gbui':
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue