Skip to content

Commit

Permalink
add concat-stream to devDependencies (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Jun 8, 2022
1 parent 7aa5b75 commit 8784672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@types/node": "^17.0.1",
"@typescript-eslint/parser": "^4.33.0",
"climem": "^1.0.3",
"concat-stream": "^2.0.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^16.0.0",
"eslint-config-standard-with-typescript": "^21.0.1",
Expand Down
3 changes: 1 addition & 2 deletions test/multipart-disk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const { Readable } = require('readable-stream')
const path = require('path')
const fs = require('fs')
const { access } = require('fs').promises
const rimraf = require('rimraf')
const EventEmitter = require('events')
const { once } = EventEmitter

Expand Down Expand Up @@ -245,7 +244,7 @@ test('should not throw on request files cleanup error', { skip: process.platform
try {
await req.saveRequestFiles({ tmpdir })
// temp file saved, remove before the onResponse hook
rimraf.sync(tmpdir)
await fs.promises.rm(tmpdir, { recursive: true, force: true })
reply.code(200).send()
} catch (error) {
reply.code(500).send()
Expand Down

0 comments on commit 8784672

Please sign in to comment.