Skip to content

fix: correct inverted error check - #88

Merged
besendorf merged 1 commit into
mvt-project:mainfrom
0x0v1:fix/find-inverted-error-check
May 18, 2026
Merged

fix: correct inverted error check#88
besendorf merged 1 commit into
mvt-project:mainfrom
0x0v1:fix/find-inverted-error-check

Conversation

@0x0v1

@0x0v1 0x0v1 commented May 6, 2026

Copy link
Copy Markdown
Contributor

adb/files.go::FindFullCommand has an inverted error check after invoking the find command via adb shell. The function returns early on success (with an empty results slice and a nil error), and only proceeds to parse output when the shell command failed. Net effect: every successful call returns no results, and only failed calls have their (garbage / empty) output attempted to be parsed.

@besendorf besendorf closed this May 6, 2026
@besendorf besendorf reopened this May 6, 2026
@besendorf
besendorf merged commit c17d4b2 into mvt-project:main May 18, 2026
1 check passed
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.

2 participants