Skip to content

Commit

Permalink
Improve readability
Browse files Browse the repository at this point in the history
Co-authored-by: PikachuEXE <[email protected]>
  • Loading branch information
absidue and PikachuEXE authored Jan 19, 2025
1 parent aff18dd commit 6498b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,8 @@ function runApp() {

if (
typeof path !== 'string' ||
(typeof query !== 'object' && query != null) ||
(typeof searchQueryText !== 'string' && searchQueryText != null)
(query != null && typeof query !== 'object') ||
(searchQueryText != null && typeof searchQueryText !== 'string')
) {
return
}
Expand Down

0 comments on commit 6498b03

Please sign in to comment.