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

Commit cc12244

Browse files
committed
chore: fix linting
License: MIT Signed-off-by: achingbrain <[email protected]>
1 parent 4ce16b7 commit cc12244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/ls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ module.exports = {
5757
.then(files => {
5858
// https://github.com/ipfs/go-ipfs/issues/5181
5959
if (sort) {
60-
return callback(null, files.sort((a, b) => {
60+
files = files.sort((a, b) => {
6161
return a.name.localeCompare(b.name)
62-
}))
62+
})
6363
}
6464

6565
if (long) {

0 commit comments

Comments
 (0)