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

Adding the default README, if any #75

Closed
wants to merge 1 commit into from
Closed

Adding the default README, if any #75

wants to merge 1 commit into from

Conversation

eduardobs79
Copy link
Contributor

Moved from sync request to async requests. If there is an error in any of the requests it is treated in the same way than before.

if (err) return done(err)
if (!repo) return done()
async.parallel({
getRepository : function (callbackFn) {

Choose a reason for hiding this comment

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

callback functions are usually written as cb or done - best to follow the convention of existing code in the repo. Also goes for putting spaces after var name, e.g. 'foo : bar', go with whatever the existing code uses (this stuff should be caught by a linter)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated - will commit tomorrow - to follow the current code convention.

Copy link
Contributor

Choose a reason for hiding this comment

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

npm run test npm run lint will ensure the code follow is the correct convention for you. It will give you each line were the code does not follow the linter convention.

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