detox icon indicating copy to clipboard operation
detox copied to clipboard

double `/` in the path printed

Open stephane-archer opened this issue 10 months ago • 1 comments

detox -r --dry-run dir and detox -r --dry-run dir/ doesn't show the same output dir/ would display double / in the path printed

on detox 2.0.0 on MacOS

stephane-archer avatar Feb 25 '25 14:02 stephane-archer

Confirmed.

$ src/detox -V
detox 2.0.2
$ src/detox -vvv -r --dry-run /tmp/blah/
Scanning: /tmp/blah/
/tmp/blah//de/dah/hi there -> /tmp/blah//de/dah/hi_there
$ src/detox -vvv -r --dry-run /tmp/blah
Scanning: /tmp/blah
/tmp/blah/de/dah/hi there -> /tmp/blah/de/dah/hi_there
$ 
$ src/detox -V
detox 3.0.0
$ src/detox -vvv -r --dry-run /tmp/blah/
Scanning: /tmp/blah/
/tmp/blah//de/dah/hi there -> /tmp/blah//de/dah/hi_there
$ src/detox -vvv -r --dry-run /tmp/blah
Scanning: /tmp/blah
/tmp/blah/de/dah/hi there -> /tmp/blah/de/dah/hi_there
$ 

dharple avatar Aug 10 '25 11:08 dharple