fix(general): tslint being applied in all sources.
This commit is contained in:
parent
4b49686a3b
commit
25d14592b7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export class GBImporter {
|
||||||
botId = packageJson.botId;
|
botId = packageJson.botId;
|
||||||
}
|
}
|
||||||
const instance = await this.core.loadInstance(botId);
|
const instance = await this.core.loadInstance(botId);
|
||||||
if (instance !== undefined) {
|
if (instance !== null) {
|
||||||
return instance;
|
return instance;
|
||||||
} else {
|
} else {
|
||||||
return await this.createInstanceInternal(botId, localPath, packageJson);
|
return await this.createInstanceInternal(botId, localPath, packageJson);
|
||||||
|
|
Loading…
Add table
Reference in a new issue