Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

feat: use new ipfsd-ctl #186

Merged
merged 3 commits into from
Jan 19, 2018
Merged

feat: use new ipfsd-ctl #186

merged 3 commits into from
Jan 19, 2018

Conversation

dryajov
Copy link
Contributor

@dryajov dryajov commented Dec 21, 2017

No description provided.

@ghost ghost assigned dryajov Dec 21, 2017
@ghost ghost added the in progress label Dec 21, 2017
src/block.js Outdated
expect(err).to.not.exist()
ipfs = node
ipfsd = node
done()
})
Copy link
Contributor

Choose a reason for hiding this comment

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

You are forgetting that these tests are also run by js-ipfs core. Replace df.spawn call line by:

df.spawn((err, _ipfsd) => {
  expect(err).not.to.exist()
  ipfsd = _ipfsd
  ipfs = _ipfsd.api
})

And avoid replacing all the lines in tests.

@dryajov dryajov changed the title [WIP] feat: use new ipfsd-ctl feat: use new ipfsd-ctl Jan 15, 2018
@dryajov
Copy link
Contributor Author

dryajov commented Jan 16, 2018

@diasdavid we need this merged and released for ipfs/js-ipfs#1167 and ipfs-inactive/js-ipfs-http-client#652.

@daviddias daviddias merged commit 4d4ef7f into master Jan 19, 2018
@daviddias daviddias deleted the feat/ipfsd-ctl branch January 19, 2018 00:36
@dryajov
Copy link
Contributor Author

dryajov commented Jan 19, 2018

thanks 🕺 !

dryajov added a commit that referenced this pull request Jan 19, 2018
daviddias pushed a commit that referenced this pull request Jan 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants