Skip to content

Commit

Permalink
fix getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
dorschw committed Feb 25, 2024
1 parent 2ea040a commit 950a1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demisto_sdk/scripts/validate_conf_json.py
Expand Up @@ -52,7 +52,7 @@ def _validate_content_exists(self) -> bool:
):
message = f"{len(linked_ids_missing_in_graph)} {content_type.value}s are not found in the graph: {','.join(sorted(linked_ids_missing_in_graph))}"
logger.error(message)
if string_to_bool(os.getenv("GITHUB_ACTIONS")):
if string_to_bool(os.getenv("GITHUB_ACTIONS", False)):
print( # noqa: T201
f"::error file={self._conf_path},line=1,endLine=1,title=Conf.JSON Error::{message}"
)
Expand Down

0 comments on commit 950a1c3

Please sign in to comment.