Skip to content

Commit 8727a91

Browse files
committed
fix: duplicated code
1 parent 65eadfd commit 8727a91

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/utils.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,6 @@ pub fn open_application(path: impl AsRef<Path>) {
135135
.ok();
136136
}
137137

138-
#[cfg(target_os = "macos")]
139-
{
140-
NSWorkspace::new().openURL(&NSURL::fileURLWithPath(
141-
&objc2_foundation::NSString::from_str(&path.to_string_lossy()),
142-
));
143-
}
144138
#[cfg(target_os = "macos")]
145139
{
146140
NSWorkspace::new().openURL(&NSURL::fileURLWithPath(

0 commit comments

Comments
 (0)