-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
issue#152 data folder es6 migration #167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @lucas1004jx! Can you review my comments? :-)
config/env/development.js
Outdated
@@ -5,7 +5,7 @@ module.exports = { | |||
// grunt db-reset:development | |||
// That will create the local nodegoat data-store, or restore it to a clean state if it already exists. | |||
|
|||
// db: "mongodb://localhost:27017/nodegoat", | |||
db: "mongodb://localhost:27017/nodegoat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should remind commented ;-)
|
||
// Create allocations document | ||
var memos = { | ||
const memos = { | ||
memo: memo, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use shorter assignation here too ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks for your contribution @lucas1004jx and help with reviewing it @UlisesGascon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me ^^
This PR is part of Migration to es6+ #152.
As this tasks is huge, we agreed to split it in little chunks so it can be review it faster 👍
PR Changelog
change 'var' to 'const'
change function to ES& arrow function