Skip to content

Conversation

@ehhc
Copy link
Contributor

@ehhc ehhc commented May 10, 2018

No description provided.

return createNote(storageKey, input1)
.then(function createAttachmentFolder (data) {
fs.mkdirSync(path.join(storagePath, attachmentManagement.DESTINATION_FOLDER))
fs.mkdirSync(path.join(storagePath, attachmentManagement.DESTINATION_FOLDER, data.key))
Copy link
Member

Choose a reason for hiding this comment

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

FYI: Sander uses mkdirp. So it can be written in a single line. 💃 https://github.com/Rich-Harris/sander

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good to know. i will rember that :)

@Rokt33r Rokt33r added next release (v0.11.5) and removed awaiting review ❇️ Pull request is awaiting a review. labels May 16, 2018
@Rokt33r Rokt33r merged commit 2a6d950 into BoostIO:master May 16, 2018
@ehhc ehhc deleted the Issue_1900 branch May 16, 2018 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants