This pull request fixes a bug in ‘pharo::prepare_image’ where the image was always downloaded again due to ‘is_file’ being used instead of ‘is_dir’ to test the existence of the ‘target’ directory.
The bug seems to have been introduced in commit 3018a631f2a5839d, the test previously checked the existence of the image file instead of the directory.
This pull request fixes a bug in ‘pharo::prepare_image’ where the image was always downloaded again due to ‘is_file’ being used instead of ‘is_dir’ to test the existence of the ‘target’ directory.
The bug seems to have been introduced in commit 3018a631f2a5839d, the test previously checked the existence of the image file instead of the directory.