Skip to content

Commit

Permalink
Used name instead of filename(), becasue fileName just return name....
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-ludwig committed Nov 25, 2023
1 parent 7c666cf commit 02dc5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ extension CEWorkspaceFileManager {
let deleteConfirmation = NSAlert()
let message: String
if !file.isFolder || file.isEmptyFolder { // if its a file or an empty folder, call it by its name
message = file.fileName()
message = file.name
} else {
let childrenCount = try? fileManager.contentsOfDirectory(
at: file.url,
Expand Down

0 comments on commit 02dc5c7

Please sign in to comment.