Closed manoedinata closed 1 year ago
Leaving trailing slashes in the target folder path can lead to unexpected result location.
For example, given folderName input as hvlda-gmxe/ (note the trailing slash), instead of
folderName
hvlda-gmxe/
hvlda-gmxe.pdf
, the PDF result will be located in
hvlda-gmxe/.pdf
Strip the trailing slash from the given folder name input.
Reference: https://stackoverflow.com/a/10408845
this is great, thanks!
Leaving trailing slashes in the target folder path can lead to unexpected result location.
For example, given
folderName
input ashvlda-gmxe/
(note the trailing slash), instead of, the PDF result will be located in
Strip the trailing slash from the given folder name input.
Reference: https://stackoverflow.com/a/10408845