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

fix: remove accidentally committed code #1686

Merged
merged 1 commit into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/cli/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,6 @@ const Progress = require('progress')
const byteman = require('byteman')
const promisify = require('promisify-es6')

// All known IPLD formats
const ipldBitcoin = require('ipld-bitcoin')
const ipldDagCbor = require('ipld-dag-cbor')
const ipldDagPb = require('ipld-dag-pb')
const ipldEthAccountSnapshot = require('ipld-ethereum').ethAccountSnapshot
const ipldEthBlock = require('ipld-ethereum').ethBlock
const ipldEthBlockList = require('ipld-ethereum').ethBlockList
const ipldEthStateTrie = require('ipld-ethereum').ethStateTrie
const ipldEthStorageTrie = require('ipld-ethereum').ethStorageTrie
const ipldEthTrie = require('ipld-ethereum').ethTxTrie
const ipldEthTx = require('ipld-ethereum').ethTx
const ipldGit = require('ipld-git')
const ipldRaw = require('ipld-raw')
const ipldZcash = require('ipld-zcash')

exports = module.exports

exports.isDaemonOn = isDaemonOn
Expand Down
4 changes: 1 addition & 3 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ class IPFS extends EventEmitter {
multiaddr: multiaddr,
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: ipldDagPb,
dagCBOR: ipldDagCbor
CID: CID
}

// IPFS Core Internals
Expand Down
6 changes: 1 addition & 5 deletions test/core/init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const isIPFS = require('is-ipfs')
const multiaddr = require('multiaddr')
const multibase = require('multibase')
const multihash = require('multihashes')
const ipldDagCbor = require('ipld-dag-cbor')
const ipldDagPb = require('ipld-dag-pb')
const CID = require('cids')
const IPFS = require('../../src/core')

Expand Down Expand Up @@ -122,9 +120,7 @@ describe('init', () => {
multiaddr: multiaddr,
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: ipldDagPb,
dagCBOR: ipldDagCbor
CID: CID
})
})

Expand Down