Skip to content

fix: WindowsCommand.is_in_path missing show_log parameter - #509

Open
HediKharouf0 wants to merge 1 commit into
Orange-Cyberdefense:mainfrom
HediKharouf0:fix/windows-is-in-path
Open

fix: WindowsCommand.is_in_path missing show_log parameter#509
HediKharouf0 wants to merge 1 commit into
Orange-Cyberdefense:mainfrom
HediKharouf0:fix/windows-is-in-path

Conversation

@HediKharouf0

Copy link
Copy Markdown

On Windows, launching GOAD crashes immediately with:
TypeError: WindowsCommand.is_in_path() takes 2 positional arguments but 3 were given

The Ludus provider calls is_in_path('ludus', False) but WindowsCommand in goad/command/windows.py overrides the parent method without the show_log parameter. Fixed by adding show_log=True as a default argument to match the base class signature.

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