Skip to content

FIX: When deleting a file from the project navigator, the alert says (Function) in place of the filename#1492

Merged
thecoolwinter merged 4 commits into
CodeEditApp:mainfrom
tom-ludwig:issue-1487
Nov 26, 2023
Merged

FIX: When deleting a file from the project navigator, the alert says (Function) in place of the filename#1492
thecoolwinter merged 4 commits into
CodeEditApp:mainfrom
tom-ludwig:issue-1487

Conversation

@tom-ludwig

Copy link
Copy Markdown
Member

Correcting function call to obtain the file name as a string – adding '()' for accurate results.

Screenshot 2023-11-25 at 9 43 43β€―PM

@tom-ludwig

Copy link
Copy Markdown
Member Author

Hey @austincondiff, could you swiftly merge this? The issue was in the string where the author used String(describing: file.fileName), but fileName is a function. As a result, the string description reads as '(Function).' Thanks!

@thecoolwinter
thecoolwinter merged commit 5f6551f into CodeEditApp:main Nov 26, 2023
@thecoolwinter thecoolwinter added the bug Something isn't working label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 When deleting a file from the project navigator, the alert says (Function) in place of the filename

3 participants