Skip to content

Conversation

@gave92
Copy link
Member

@gave92 gave92 commented Dec 19, 2022

Resolved / Related Issues
Items resolved / related issues by this PR.

  • No issue, only code quality

Created helper method to check if a file path is a shortcut or url file instead of having checks for the extension in 20 places. Also makes sure to use OrdinalIgnoreCase instead of Ordinal.

Validation
How did you test these changes?

  • Built and ran the app

@yaira2 yaira2 changed the title Codebase quality: use helper method for checking .lnk and .url extensions Codebase quality: Use helper method for checking .lnk and .url extensions Dec 19, 2022
@gave92 gave92 marked this pull request as ready for review December 19, 2022 20:09
@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Dec 19, 2022
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Dec 19, 2022
@yaira2 yaira2 merged commit 9ab8690 into files-community:main Dec 19, 2022
@gave92 gave92 deleted the file_ext_lnk branch December 19, 2022 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants