New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error msg misspellings of "received" #414

Merged
merged 4 commits into from Sep 12, 2018
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings

Always

Just for now

Next

Fix misspellings in messageReader.ts

Fixed misspelling of "received"
  • Loading branch information...
IISResetMe committed Sep 11, 2018
commit 2d72432e59a83c45e6a8093ba51d097fa9ea7216
@@ -165,7 +165,7 @@ export abstract class AbstractMessageReader {
if (error instanceof Error) {
return error;
} else {
return new Error(`Reader recevied error. Reason: ${Is.string(error.message) ? error.message : 'unknown'}`);
return new Error(`Reader received error. Reason: ${Is.string(error.message) ? error.message : 'unknown'}`);
}
}
}
@@ -229,7 +229,7 @@ export class StreamMessageReader extends AbstractMessageReader implements Messag
}
var msg = this.buffer.tryReadContent(this.nextMessageLength);
if (msg === null) {
/** We haven't recevied the full message yet. */
/** We haven't received the full message yet. */
this.setPartialMessageTimer();
return;
}
@@ -284,4 +284,4 @@ export class SocketMessageReader extends StreamMessageReader {
public constructor(socket: Socket, encoding: string = 'utf-8') {
super(socket as NodeJS.ReadableStream, encoding);
}
}
}
ProTip! Use n and p to navigate between commits in a pull request.