fix(general): tslint being applied in all sources.

This commit is contained in:
Rodrigo Rodriguez 2019-04-01 16:15:11 -03:00
parent 4b49686a3b
commit 25d14592b7

View file

@ -57,7 +57,7 @@ export class GBImporter {
botId = packageJson.botId;
}
const instance = await this.core.loadInstance(botId);
if (instance !== undefined) {
if (instance !== null) {
return instance;
} else {
return await this.createInstanceInternal(botId, localPath, packageJson);