Skip to content

Commit

Permalink
chore(package): update aegir to version 19.0.3 (ipfs#485)
Browse files Browse the repository at this point in the history
* chore(package): update aegir to version 19.0.3

Closes ipfs#480

* fix: appease linter

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
alanshaw committed May 31, 2019
1 parent e00eb4a commit 74bccc2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
lint: {
files: [
'src/**/*.js',
'test/**/*.js'
'test/*.js'
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"through2": "^3.0.0"
},
"devDependencies": {
"aegir": "^18.1.1"
"aegir": "^19.0.3"
},
"contributors": [
"Alan Shaw <alan.shaw@protocol.ai>",
Expand Down
2 changes: 0 additions & 2 deletions src/block/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,5 @@ module.exports = (createCommon, options) => {
done()
})
})

// TODO it.skip('Promises support', (done) => {})
})
}
2 changes: 0 additions & 2 deletions src/block/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ module.exports = (createCommon, options) => {
done()
})
})

// TODO it.skip('Promises support', (done) => {})
})
}
2 changes: 0 additions & 2 deletions src/dag/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,5 @@ module.exports = (createCommon, options) => {
})

it.skip('should put by passing the cid instead of format and hashAlg', (done) => {})

// TODO it.skip('Promises support', (done) => {})
})
}
9 changes: 8 additions & 1 deletion src/files-regular/refs-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,14 @@ function loadContent (ipfs, store, node, callback) {

if (typeof node === 'object') {
const entries = Object.entries(node)
const sorted = entries.sort((a, b) => a[0] > b[0] ? 1 : a[0] < b[0] ? -1 : 0)
const sorted = entries.sort((a, b) => {
if (a[0] > b[0]) {
return 1
} else if (a[0] < b[0]) {
return -1
}
return 0
})
mapSeries(sorted, ([name, child], cb) => {
loadContent(ipfs, store, child, (err, cid) => {
cb(err, { name, cid: cid && cid.toString() })
Expand Down
1 change: 1 addition & 0 deletions src/pubsub/subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ module.exports = (createCommon, options) => {
const duration = new Date().getTime() - startTime
const opsPerSec = Math.floor(count / (duration / 1000))

// eslint-disable-next-line
console.log(`Send/Receive 100 messages took: ${duration} ms, ${opsPerSec} ops / s`)

check()
Expand Down

0 comments on commit 74bccc2

Please sign in to comment.