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

Simplify app location update condition #83

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Simplify app location update condition #83

merged 1 commit into from
Nov 1, 2024

Conversation

BoiHanny
Copy link
Owner

@BoiHanny BoiHanny commented Nov 1, 2024

Simplify app location update condition

Removed the redundant check for current app path match in UpdateApp.cs. Now, the code only verifies if createNewAppLocation is true before updating the app location, streamlining the conditional logic.

PR Classification

Code cleanup to streamline the logic for updating the app location.

PR Summary

Simplified the conditional logic for updating the app location in UpdateApp.cs.

  • UpdateApp.cs: Removed the condition checking if the current app path matches the actual current app path, now only checks if createNewAppLocation is true.

Removed the redundant check for current app path match in `UpdateApp.cs`. Now, the code only verifies if `createNewAppLocation` is true before updating the app location, streamlining the conditional logic.
@BoiHanny BoiHanny merged commit e4e2b93 into master Nov 1, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant