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

Commit

Permalink
Fix standard errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackergrrl committed May 24, 2016
1 parent 30f992b commit 2712154
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/api/add-files.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict'

const Wreck = require('wreck')
const addToDagNodesTransform = require('../add-to-dagnode-transform')

module.exports = (send) => {
Expand All @@ -10,7 +9,7 @@ module.exports = (send) => {
opts = {}
}

if (typeof(path) !== 'string') {
if (typeof (path) !== 'string') {
return cb(new Error('"path" must be a string'))
}

Expand Down
2 changes: 0 additions & 2 deletions src/api/add-url.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict'

const Wreck = require('wreck')
const async = require('async')
const DAGNode = require('ipfs-merkle-dag').DAGNode
const addToDagNodesTransform = require('../add-to-dagnode-transform')

module.exports = (send) => {
Expand Down
1 change: 0 additions & 1 deletion src/api/add.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const isStream = require('isstream')
const Wreck = require('wreck')
const addToDagNodesTransform = require('../add-to-dagnode-transform')

module.exports = (send) => {
Expand Down

0 comments on commit 2712154

Please sign in to comment.