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

I think this fixes the truncated messages issue #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mike-lawrence
Copy link

I think this fixes the truncated messages issue (#33). Maybe double-check that my tossing of the last three entries in args doesn't have any unwanted effects that I'm not considering?

} else if (type == "error") {
} else {
message = unlist(args)
message = paste0(message[1:(length(message)-3)],collapse='')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we be sure that length(message) > 3 here? We should use consistent syntax, <- for assignment, and spacing in argument list and around the minus.

@smbache
Copy link
Owner

smbache commented Feb 20, 2018

Thanks for digging into this. I left a few comments in the code section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants