This PR prevents the removal of the trailing slash when the dataset sourceFolder is equal to /
Motivation
The trailing slash is removed from sourceFolder, which is fine for normal sourceFolder, but not when it is equal to / because nothing is left over and then it looks like an undefined sourceFolder.
Fixes:
Check if sourceFolder is not equal to / before removing the trailing slash
Tests included/Docs Updated?
[ ] Included for each change/fix?
[ ] Passing? (Merge will not be approved unless this is checked)
Description
This PR prevents the removal of the trailing slash when the dataset
sourceFolder
is equal to/
Motivation
The trailing slash is removed from
sourceFolder
, which is fine for normalsourceFolder
, but not when it is equal to/
because nothing is left over and then it looks like an undefinedsourceFolder
.Fixes:
sourceFolder
is not equal to/
before removing the trailing slashTests included/Docs Updated?