codearoni/zxp-sign-cmd

Signing fails on non-existing folder hierarchy

rendertom opened this issue · 3 comments

Signing operation fails if "output" destination contains non-existing nested folder hierarchy:

Works: "existingFolder/NonExistingFolder/file.zxp"
Fails: "existingFolder/NonExistingFolder1/NonExistingFolder 2/file.zxp"

Would be great if it recursively create folder hierarchy before placing a ZXP file.

node 10 supports recursive mkdir natively.

I will consider adding that functionality in a future release that deprecates node 8 or lower

nice bruno 👍

@rendertom Recursive folder building is fixed in v2