Skip to content

Commit

Permalink
fix(MongoInstance): fix log in "run"
Browse files Browse the repository at this point in the history
- fix spelling in logs in function "run"
  • Loading branch information
hasezoey committed Sep 26, 2020
1 parent 8020c5a commit 38b2f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mongodb-memory-server-core/src/util/MongoInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ export default class MongoInstance {
const launch = new Promise((resolve, reject) => {
this.instanceReady = () => {
this.isInstanceReady = true;
this.debug('MongodbInstance: is ready!');
this.debug('MongodbInstance: Instance is ready!');
resolve({ ...this.childProcess });
};
this.instanceFailed = (err: any) => {
this.debug(`MongodbInstance: is failed: ${err.toString()}`);
this.debug(`MongodbInstance: Instance has failed: ${err.toString()}`);
if (this.killerProcess) {
this.killerProcess.kill();
}
Expand Down

0 comments on commit 38b2f0d

Please sign in to comment.