Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/west/zap_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ def get_current_version(self) -> Tuple[int, int, int]:
"""
Returns ZAP package current version as a tuple of integers.

Parses the output of `zap --version` to determine the current ZAP
Parses the output of `zap-cli --version` to determine the current ZAP
package version. If the ZAP package has not been installed yet,
the method returns None.
"""
try:
output = subprocess.check_output(
[self.get_zap_path(), '--version']).decode('ascii').strip()
[self.get_zap_cli_path(), '--version']).decode('ascii').strip()
except Exception:
return None

Expand Down
Loading