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

Support email one-line format #674

Closed
wants to merge 1 commit into from

Conversation

nikoren
Copy link

@nikoren nikoren commented Jun 24, 2018

What did you implement:

Closes #633

How did you implement it:

Added logic to consider additional flag

How can we verify it:

run with vuls report -to-email -format-one-line-text -format-one-email and get short email

Todos:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: NO
Is it a breaking change?: NO

if conf.formatOneLineSummary{
message += formatOneLineSummary(r) + "\r\n\r\n"
}
else{
Copy link
Member

Choose a reason for hiding this comment

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

[go vet]

expected statement, found 'else'

if conf.formatOneLineSummary{
message += formatOneLineSummary(r) + "\r\n\r\n"
}
else{
Copy link
Member

Choose a reason for hiding this comment

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

[Golint]

expected statement, found 'else'

@kotakanbe
Copy link
Member

@nikoren Please fix the warnings.

@kotakanbe kotakanbe closed this Jan 24, 2019
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.

None yet

2 participants