Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 7c62777

Browse files
committed
style: lint
1 parent f79d59e commit 7c62777

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
"chalk": "^2.4.2",
5050
"cids": "~0.7.0",
5151
"datastore-core": "~0.7.0",
52-
"datastore-fs": "^0.9.0",
53-
"datastore-level": "^0.12.0",
52+
"datastore-fs": "~0.9.0",
53+
"datastore-level": "~0.12.0",
5454
"debug": "^4.1.0",
5555
"fsevents": "^1.2.9",
56-
"interface-datastore": "^0.7.0",
56+
"interface-datastore": "~0.7.0",
5757
"proper-lockfile": "^3.2.0",
5858
"yargs": "^12.0.5",
5959
"yargs-promise": "^1.1.0"

test/migrations/migration-8-test.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const blocksFixtures = [
2525
['CIQMUSJFXRZX7ZRBICXJQPHVD7YSPD5KS75DRO7Q55ADVNORRBXV75Y', ['CIQMUSJFXRZX7ZRBICXJQPHVD7YSPD5KS75DRO7Q55ADVNORRBXV75Y']],
2626
['CIQJBQD2O6K4CGJVCCTJNUP57QHR4SKHZ74OIITBBGLOMCO3ZOLWLGA', ['CIQJBQD2O6K4CGJVCCTJNUP57QHR4SKHZ74OIITBBGLOMCO3ZOLWLGA']],
2727
['CIQJF2E6OPOEYYEVHYML4UD5A3R4QRAVBI7NVH3PL64D3IJCWR2SPUQ', ['CIQJF2E6OPOEYYEVHYML4UD5A3R4QRAVBI7NVH3PL64D3IJCWR2SPUQ']],
28-
['CIQFTFEEHEDF6KLBT32BFAGLXEZL4UWFNWM4LFTLMXQBCERZ6CMLX3Y', ['CIQFTFEEHEDF6KLBT32BFAGLXEZL4UWFNWM4LFTLMXQBCERZ6CMLX3Y']],
28+
['CIQFTFEEHEDF6KLBT32BFAGLXEZL4UWFNWM4LFTLMXQBCERZ6CMLX3Y', ['CIQFTFEEHEDF6KLBT32BFAGLXEZL4UWFNWM4LFTLMXQBCERZ6CMLX3Y']]
2929
]
3030

3131
async function bootstrapKeys (dir, encoded) {
@@ -35,8 +35,8 @@ async function bootstrapKeys (dir, encoded) {
3535
let name
3636
for (let keyNames of keysFixtures) {
3737
name = encoded ? keyNames[1] : keyNames[0]
38-
await store.put(new Key(`/pkcs8/${ name }`), '')
39-
await store.put(new Key(`/info/${ name }`), '')
38+
await store.put(new Key(`/pkcs8/${name}`), '')
39+
await store.put(new Key(`/info/${name}`), '')
4040
}
4141

4242
await store.close()
@@ -49,8 +49,8 @@ async function validateKeys (dir, shouldBeEncoded) {
4949
let name
5050
for (let keyNames of keysFixtures) {
5151
name = shouldBeEncoded ? keyNames[1] : keyNames[0]
52-
expect(await store.has(new Key(`/pkcs8/${ name }`))).to.be.true(name)
53-
expect(await store.has(new Key(`/info/${ name }`))).to.be.true(name)
52+
expect(await store.has(new Key(`/pkcs8/${name}`))).to.be.true(name)
53+
expect(await store.has(new Key(`/info/${name}`))).to.be.true(name)
5454
}
5555

5656
await store.close()
@@ -130,6 +130,5 @@ module.exports = (setup, cleanup) => {
130130
// await blocksMigration.revert(dir)
131131
// await validateKeys(dir, false)
132132
// })
133-
134133
})
135134
}

0 commit comments

Comments
 (0)