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

issue#152 data folder es6 migration #167

Merged
merged 3 commits into from
Sep 9, 2019

Conversation

lucas1004jx
Copy link
Contributor

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

@UlisesGascon UlisesGascon self-assigned this Aug 29, 2019
Copy link
Collaborator

@UlisesGascon UlisesGascon left a 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? :-)

app/data/contributions-dao.js Show resolved Hide resolved
@@ -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",
Copy link
Collaborator

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,
Copy link
Collaborator

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 ^^

@UlisesGascon UlisesGascon requested a review from ckarande August 29, 2019 07:27
Copy link
Member

@ckarande ckarande left a 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

Copy link
Collaborator

@UlisesGascon UlisesGascon left a 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 ^^

@UlisesGascon UlisesGascon merged commit 0d9440d into OWASP:master Sep 9, 2019
@lucas1004jx lucas1004jx deleted the issue#152_data branch November 12, 2019 09:32
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.

3 participants