Skip to content

fix: correct inverted error check#88

Open
0x0v1 wants to merge 1 commit into
mvt-project:mainfrom
0x0v1:fix/find-inverted-error-check
Open

fix: correct inverted error check#88
0x0v1 wants to merge 1 commit into
mvt-project:mainfrom
0x0v1:fix/find-inverted-error-check

Conversation

@0x0v1
Copy link
Copy Markdown

@0x0v1 0x0v1 commented May 6, 2026

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
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