Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/96cb9d836b6e40d0a5a4d20b294cc0d1)](https://www.codacy.com/gh/codacy-acme/nodeproject/dashboard?utm_source=github.com&utm_medium=referral&utm_content=codacy-acme/nodeproject&utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/96cb9d836b6e40d0a5a4d20b294cc0d1)](https://www.codacy.com/gh/codacy-acme/nodeproject/dashboard?utm_source=github.com&utm_medium=referral&utm_content=codacy-acme/nodeproject&utm_campaign=Badge_Coverage)
# nodeproject

### this is an issue
<!-- codacy-status -->
Grade: 80 | Issues: 37% | Complex Files: 0% | Coverage: 39%
<!-- /codacy-status -->

## the description of this project

### Just an edit
5 changes: 4 additions & 1 deletion src/server/lib/api.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
function foo1(a, b, a) {
typeof a === undefined
console.log('value of the second a:', a);
console.log("value of the second a:", a);
console.log('"value of the second a:"', a);
Copy link
Copy Markdown
Collaborator 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
console.log('"value of the second a:"', a);
console.log("\"value of the second a:\"", a);

Copy link
Copy Markdown

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
console.log('"value of the second a:"', a);
console.log("\"value of the second a:\"", a);

Copy link
Copy Markdown
Collaborator 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
console.log('"value of the second a:"', a);
console.log("\"value of the second a:\"", a);

console.log("'value of the second a:'", a);
}

var bar = function (a, b, a) {
console.log('value of the second a:', a);
};
};