Closed nulltoken closed 9 years ago
Using the detailed Verbosity level is a nice tweak!
It does point out one other change that might be worth making though.
Added file '[Content_Types].xml'.
Looks like you might want to delete all the metadata bits that get put into the extracted package folder before repacking it:
_rels\
package\
[Content_Types].xml
Also, maybe you could copy the final package to $root instead, which would let you clean up the temp folder that currently gets left behind. That would also let you have a single Remove-Item call without needing to clean up all of the other extracted folders separately.
@bording Good catch! I've updated the PR to also take this into account.
Also, maybe you could copy the final package to $root instead, which would let you clean up the temp folder that currently gets left behind. That would also let you have a single Remove-Item call without needing to clean up all of the other extracted folders separately.
I haven't read this comment before pushing up this last commit. Let me see what I can do about this.
Also, maybe you could copy the final package to $root instead, which would let you clean up the temp folder that currently gets left behind. That would also let you have a single Remove-Item call without needing to clean up all of the other extracted folders separately.
I haven't read this comment before pushing up this last commit. Let me see what I can do about this.
Better?
The only other thing I see is that you could get rid of the Remove-Item calls on lines 115, 117, and 119 since you're now deleting the entire temp folder.
Otherwise, :+1:
The only other thing I see is that you could get rid of the Remove-Item calls on lines 115, 117, and 119 since you're now deleting the entire temp folder.
Fixed! Awesome feedback! :heart_eyes:
Included changes trigger the following output