We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f94106c commit 41cac2dCopy full SHA for 41cac2d
src/icon_conversion.rs
@@ -608,7 +608,7 @@ impl IconConversion {
608
609
pub fn assign_icns_using_osascript(
610
&self,
611
- _options: &Options,
+ options: &Options,
612
icns_path: &Path,
613
target_path: &Path,
614
) -> Result<(), FolderifyError> {
@@ -651,7 +651,7 @@ impl IconConversion {
651
eprintln!("Icon was not successfully assigned to the target folder.");
652
exit(1);
653
}
654
- } else {
+ } else if options.target.is_some() {
655
// TODO: this is usually overwritten by the progress bars.
656
eprintln!(
657
"Target is not a folder. Please check manually if the icon was assigned correctly."
0 commit comments