Closed hydra closed 5 years ago
with regards to the failing tests, can you take a look? I don't currently have time. I'm a super n00b when it comes to npm, node, etc. likely there's a test which needs to cleanup after itself before the next one runs as I think creating the directory fails if it already exists. If you have any code change suggestions let me know.
FYI, I'm here because a pre-exsting gulp task doesn't work for me on WSL, it uses the 'clean: true' option which is likely why this PR fixes my issues but causes the tests to file.
Closing, replaced by #24
When attempting to build DPKG files on a WSL environment I encountered the above error, output from dpkg itself.
First I tried using the 'dirMode' option of outputFile but it didn't fix the issue, creating the control directory first fixes it.
https://www.npmjs.com/package/output-file#optionsdirmode
Note, diff looks big but it's just indentation.