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

Wrap with directory option #798

Merged
merged 5 commits into from
Mar 21, 2017
Merged

Conversation

harshjv
Copy link
Contributor

@harshjv harshjv commented Mar 18, 2017

Implements #696

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @harshjv :)

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that CI is not happy though, could you check?

https://travis-ci.org/ipfs/js-ipfs/jobs/212376202#L5943-L5963

originalPath: file.path
})),
pull.map((file) => ({
path: wrapWithDirectory ? `${WRAPPER}${file.path}` : file.path,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should use path.join to ensure correct path separators

@harshjv
Copy link
Contributor Author

harshjv commented Mar 21, 2017

@diasdavid ya. extra space in the output :/ Fixed it 👍

@dignifiedquire Done 👍

@daviddias daviddias merged commit ea0215c into ipfs:master Mar 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants