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

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jan 13, 2018
1 parent a3c134d commit b3e3fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dht.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const parallel = require('async/parallel')
const CID = require('cids')

function spawnWithId (df, type, exec, callback) {
if (typeof type === 'function') {
if (typeof type === 'function') {
callback = type
type = undefined
}

if (typeof exec === 'function') {
if (typeof exec === 'function') {
callback = exec
exec = undefined
}
Expand Down

0 comments on commit b3e3fab

Please sign in to comment.