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

Commit

Permalink
feat: add awareness of wrapWithDirectory option to utils/send-files-s…
Browse files Browse the repository at this point in the history
…tream
  • Loading branch information
wraithgar authored and daviddias committed Apr 3, 2018
1 parent c72c285 commit 03502bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/send-files-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module.exports = (send, path) => {
qs['raw-leaves'] = propOrProp(options, 'raw-leaves', 'rawLeaves')
qs['only-hash'] = propOrProp(options, 'only-hash', 'onlyHash')
qs.hash = propOrProp(options, 'hash', 'hashAlg')
qs['wrap-with-directory'] = propOrProp(options, 'wrap-with-directory', 'wrapWithDirectory')

const args = {
path: path,
Expand Down

0 comments on commit 03502bb

Please sign in to comment.