Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit e5c1d80

Browse files
committed
chore: cleanup
1 parent 405a7e6 commit e5c1d80

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
"get-folder-size": "^2.0.0",
104104
"glob": "^7.1.2",
105105
"hapi": "^16.6.2",
106-
"hapi-set-header": "^1.0.2",
107106
"hoek": "^5.0.3",
108107
"human-to-milliseconds": "^1.0.0",
109108
"interface-datastore": "~0.4.2",

src/http/api/routes/files.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ module.exports = (server) => {
230230
}
231231

232232
console.log('Finished adding')
233-
// del(pattern, { force: true })
234-
// .then(paths => {
235-
// console.log('Deleted files and folders:\n', paths.join('\n'))
236-
// })
237-
// .catch(console.error)
233+
del(pattern, { force: true })
234+
.then(paths => {
235+
console.log('Deleted files and folders:\n', paths.join('\n'))
236+
})
237+
.catch(console.error)
238238
}
239239
)
240240
} else {

src/http/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const series = require('async/series')
44
const Hapi = require('hapi')
55
const debug = require('debug')
66
const multiaddr = require('multiaddr')
7-
const setHeader = require('hapi-set-header')
87
const once = require('once')
98

109
const IPFS = require('../core')

0 commit comments

Comments
 (0)