Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed May 24, 2017
1 parent ae8cf93 commit 68ee42e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/basics/index-es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ node.version()
* Initialize the repo for this node
*/
.then(() => {
// we need to promisify node.init to return a promise
// we need to promisify node.init to return a promise
return promisify(node.init)({ emptyRepo: true, bits: 2048 })
})

/*
* Take the node online (bitswap, network and so on)
*/
.then(() => {
// we need to promisify node.start to return a promise
// we need to promisify node.start to return a promise
return promisify(node.start)()
})

/*
/*
* Add a file to IPFS - Complete Files API on:
* https://github.com/ipfs/interface-ipfs-core/tree/master/API/files
*/
Expand Down

0 comments on commit 68ee42e

Please sign in to comment.