Skip to content

Commit

Permalink
fix(general): tslint being applied in all sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Apr 1, 2019
1 parent 4b49686 commit 25d1459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core.gbapp/services/GBImporterService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 25d1459

Please sign in to comment.