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; 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);