Skip to content
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

Update variable name #6

Merged
merged 1 commit into from Jan 20, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

refactor: update variable name correction

  • Loading branch information
Shwetajain148 committed Jan 20, 2017
commit 2a3d4b9c8a2619913a91a2e29f4d0457bc401baf
@@ -31,8 +31,8 @@ function stringify(msg) {
function truncateLargeMessage(message) {
var maximumBytesAllowedToLoggly = EVENT_SIZE;
var bytesLengthOfLogMessage = Buffer.byteLength(message);
if(bytesLengthOfLogMessage > MaximumBytesAllowedToLoggly) {
message = message.slice(0, MaximumBytesAllowedToLoggly);
if(bytesLengthOfLogMessage > maximumBytesAllowedToLoggly) {
message = message.slice(0, maximumBytesAllowedToLoggly);
}
return message;
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.