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

Upgrade dependencies and some cleanup #92

Merged
merged 5 commits into from
Nov 8, 2015

Conversation

dignifiedquire
Copy link
Member

@jbenet jbenet added the status/deferred Conscious decision to pause or backlog label Nov 8, 2015
@dignifiedquire dignifiedquire changed the title [WIP] Upgrade dependencies and some cleanup Upgrade dependencies and some cleanup Nov 8, 2015
var current = multiaddrs[0].split('/')
var address = current[2]
// No support for ip6 lookups currently
if (isLocal(address) || current[1] === 'ip6') return getLocation(ipfs, multiaddrs.slice(1), cb)
Copy link
Member

Choose a reason for hiding this comment

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

Can we always do curly ifs? Actually, my standard with vim's syntastic always warns me of not doing curly ifs, doesn't it happen for you?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope as far as I know standard only errors on multiline ifs without curlys, which is what I adopted, no curlys if one line, curlys for multiline. Sounds like your vim plugin needs some updates ;)

But I don't have strong feelings about it, I just don't like curlys if I can avoid them ;)

Copy link
Member

Choose a reason for hiding this comment

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

sounds good, going to merge then :)

@daviddias
Copy link
Member

LGTM :) Thank you, @dignifiedquire ! :)

daviddias added a commit that referenced this pull request Nov 8, 2015
Upgrade dependencies and some cleanup
@daviddias daviddias merged commit ea0f963 into ipfs:master Nov 8, 2015
@jbenet jbenet removed the status/deferred Conscious decision to pause or backlog label Nov 8, 2015
@dignifiedquire dignifiedquire deleted the upgrade-deps branch November 8, 2015 23:39
@dignifiedquire dignifiedquire mentioned this pull request Nov 9, 2015
11 tasks
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.

None yet

3 participants