Skip to content

Additional issues for comment testing#14

Open
dan-codacy wants to merge 1 commit intomasterfrom
strange-pr
Open

Additional issues for comment testing#14
dan-codacy wants to merge 1 commit intomasterfrom
strange-pr

Conversation

@dan-codacy
Copy link
Owner

No description provided.

if(input % 5 === 0)
output += 'Buzz'
if(input % 99 === 0) output += 'Strange'
if(input % 101 === 0) output += 'Even Stranger'
Copy link
Owner Author

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
if(input % 101 === 0) output += 'Even Stranger'
if(input % 101 === 0) output += "Even Stranger"

if(input % 5 === 0)
output += 'Buzz'
if(input % 99 === 0) output += 'Strange'
if(input % 101 === 0) output += 'Even Stranger'
Copy link
Owner Author

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Expected { after 'if' condition.

Suggested change
if(input % 101 === 0) output += 'Even Stranger'
if(input % 101 === 0) {output += 'Even Stranger'}

if(input % 5 === 0)
output += 'Buzz'
if(input % 99 === 0) output += 'Strange'
if(input % 101 === 0) output += 'Even Stranger'
Copy link
Owner Author

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Expected { after 'if' condition.

Suggested change
if(input % 101 === 0) output += 'Even Stranger'
if(input % 101 === 0) {output += 'Even Stranger'}

if(input % 5 === 0)
output += 'Buzz'
if(input % 99 === 0) output += 'Strange'
if(input % 101 === 0) output += 'Even Stranger'
Copy link
Owner Author

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
if(input % 101 === 0) output += 'Even Stranger'
if(input % 101 === 0) output += "Even Stranger"

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.

1 participant