Skip to content

Commit da6c89d

Browse files
committed
fix: "infomation" to "information"
thanks #424
1 parent 798b0db commit da6c89d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/mongodb-memory-server-core/src/MongoMemoryServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export class MongoMemoryServer extends EventEmitter {
276276

277277
await this._startUpInstance(forceSamePort).catch((err) => {
278278
if (!debug.enabled('MongoMS:MongoMemoryServer')) {
279-
console.warn('Starting the instance failed, enable debug for more infomation');
279+
console.warn('Starting the instance failed, enable debug for more information');
280280
}
281281

282282
throw err;

packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class MongoBinaryDownloadUrl {
171171
} else if (/unknown/i.test(os.dist)) {
172172
// "unknown" is likely to happen if no release file / command could be found
173173
console.warn(
174-
'Couldnt parse dist infomation, please report this to https://github.com/nodkz/mongodb-memory-server/issues'
174+
'Couldnt parse dist information, please report this to https://github.com/nodkz/mongodb-memory-server/issues'
175175
);
176176
} else {
177177
// warn if no case for the *parsed* distro is found

packages/mongodb-memory-server-core/src/util/getos/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ export async function getOS(): Promise<AnyOS> {
5252

5353
// Linux is a special case.
5454
if (osName === 'linux') {
55-
return await getLinuxInfomation();
55+
return await getLinuxInformation();
5656
}
5757

5858
return { os: osName };
5959
}
6060

6161
export default getOS;
6262

63-
/** Function to outsource Linux Infomation Parsing */
64-
async function getLinuxInfomation(): Promise<LinuxOS> {
63+
/** Function to outsource Linux Information Parsing */
64+
async function getLinuxInformation(): Promise<LinuxOS> {
6565
// Structure of this function:
6666
// 1. try lsb_release
6767
// (if not 1) 2. try /etc/os-release

0 commit comments

Comments
 (0)