Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Nov 26, 2023

Conversation

tom-ludwig
Copy link
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
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
2 checks passed
@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