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

Commit 6fdd2dc

Browse files
committed
chore: fix CI and linting
1 parent a3f157f commit 6fdd2dc

File tree

2 files changed

+43
-45
lines changed

2 files changed

+43
-45
lines changed

package.json

+5-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"test": "exit 0",
88
"lint": "aegir lint",
9-
"release": "aegir release node --no-docs",
10-
"release-minor": "aegir release node --type minor --no-docs",
11-
"release-major": "aegir release node --type major --no-docs",
9+
"release": "aegir release -t node --no-docs",
10+
"release-minor": "aegir release -t node --type minor --no-docs",
11+
"release-major": "aegir release -t node --type major --no-docs",
1212
"coverage": "exit 0",
1313
"coverage-publish": "exit 0"
1414
},
@@ -45,12 +45,10 @@
4545
"multihashes": "^0.4.12",
4646
"multihashing-async": "^0.4.7",
4747
"peer-id": "^0.10.2",
48-
"pull-stream": "^3.6.1"
48+
"pull-stream": "^3.6.1",
4949
"dirty-chai": "^2.0.1"
5050
},
51-
"devDependencies": {
52-
53-
},
51+
"devDependencies": {},
5452
"contributors": [
5553
"David Dias <[email protected]>",
5654
"Dmitriy Ryajov <[email protected]>",

src/files.js

+38-38
Original file line numberDiff line numberDiff line change
@@ -663,48 +663,48 @@ module.exports = (common) => {
663663

664664
describe('.ls', () => {
665665
it('with a base58 encoded string', (done) => {
666-
const hash = 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP'
666+
const hash = 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP'
667667
ipfs.ls(hash, (err, files) => {
668668
expect(err).to.not.exist()
669669
files.forEach((file) => delete file.content)
670670
expect(files).to.deep.equal([
671-
{ depth: 1,
672-
name: 'alice.txt',
673-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/alice.txt',
674-
size: 11696,
675-
hash: 'QmZyUEQVuRK3XV7L9Dk26pg6RVSgaYkiSTEdnT2kZZdwoi',
676-
type: 'file' },
677-
{ depth: 1,
678-
name: 'empty-folder',
679-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/empty-folder',
680-
size: 4,
681-
hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn',
682-
type: 'dir' },
683-
{ depth: 1,
684-
name: 'files',
685-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/files',
686-
size: 183,
687-
hash: 'QmZ25UfTqXGz9RsEJFg7HUAuBcmfx5dQZDXQd2QEZ8Kj74',
688-
type: 'dir' },
689-
{ depth: 1,
690-
name: 'holmes.txt',
691-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/holmes.txt',
692-
size: 582072,
693-
hash: 'QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr',
694-
type: 'file' },
695-
{ depth: 1,
696-
name: 'jungle.txt',
697-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/jungle.txt',
698-
size: 2305,
699-
hash: 'QmT6orWioMiSqXXPGsUi71CKRRUmJ8YkuueV2DPV34E9y9',
700-
type: 'file' },
701-
{ depth: 1,
702-
name: 'pp.txt',
703-
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/pp.txt',
704-
size: 4551,
705-
hash: 'QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn',
706-
type: 'file' } ])
707-
done()
671+
{ depth: 1,
672+
name: 'alice.txt',
673+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/alice.txt',
674+
size: 11696,
675+
hash: 'QmZyUEQVuRK3XV7L9Dk26pg6RVSgaYkiSTEdnT2kZZdwoi',
676+
type: 'file' },
677+
{ depth: 1,
678+
name: 'empty-folder',
679+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/empty-folder',
680+
size: 4,
681+
hash: 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn',
682+
type: 'dir' },
683+
{ depth: 1,
684+
name: 'files',
685+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/files',
686+
size: 183,
687+
hash: 'QmZ25UfTqXGz9RsEJFg7HUAuBcmfx5dQZDXQd2QEZ8Kj74',
688+
type: 'dir' },
689+
{ depth: 1,
690+
name: 'holmes.txt',
691+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/holmes.txt',
692+
size: 582072,
693+
hash: 'QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr',
694+
type: 'file' },
695+
{ depth: 1,
696+
name: 'jungle.txt',
697+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/jungle.txt',
698+
size: 2305,
699+
hash: 'QmT6orWioMiSqXXPGsUi71CKRRUmJ8YkuueV2DPV34E9y9',
700+
type: 'file' },
701+
{ depth: 1,
702+
name: 'pp.txt',
703+
path: 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP/pp.txt',
704+
size: 4551,
705+
hash: 'QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn',
706+
type: 'file' } ])
707+
done()
708708
})
709709
})
710710
})

0 commit comments

Comments
 (0)