Skip to content

Commit d576f8c

Browse files
committed
Fix CodeQL error
1 parent 73bc10c commit d576f8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

volatility3/cli/volargparse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def _match_argument(self, action, arg_strings_pattern) -> int:
9999
# return the number of arguments matched
100100
return len(match.group(1))
101101

102-
def _check_value(self, action, value):
102+
def _check_value(self, action: argparse.Action, value: Any) -> None:
103103
if not isinstance(action, HelpfulSubparserAction):
104104
return super()._check_value(action, value)
105+
return None

0 commit comments

Comments
 (0)