-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RD-3099 Fix uploading blueprint that contains directories recognized as files by decompress
library
#1603
Conversation
@@ -22,4 +23,18 @@ describe('ArchiveHelper', () => { | |||
) | |||
); | |||
}); | |||
|
|||
it('extracts specified archive to target directory', () => { | |||
const srcArchiveName = 'bangchak-poc'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this archive name has any particular meaning? How about naming it in a way so that it points to the test that is using it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just reused the one attached to the issue.
Do you mean having e.g. ArchiveHelper.zip
? Once you confirm, I'll update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or ArchiveHelper.test.zip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed archive name. I didn't manage to change the content of the archive.
As when I tried unzipping and zipping again I couldn't reproduce the original issue without filter
set, so I decided to leave the content of the archive unchanged.
…as files by `decompress` library (#1603)
Description
This change applies workaround for a bug in
decompress
library (kevva/decompress#46 (comment)).Screenshots / Videos
N/A
Checklist
Tests
Stage-UI-System-Test/1265 (14.09.2021 15:00:00 CEST)
Documentation
N/A