Skip to content

Commit

Permalink
oof (#25787)
Browse files Browse the repository at this point in the history
## Summary & Motivation
Needed to invert the condition
  • Loading branch information
dpeng817 authored Nov 7, 2024
1 parent 23824c1 commit 5a1c831
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .buildkite/dagster-buildkite/dagster_buildkite/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import logging
from pathlib import Path

from dagster_buildkite.git import GitInfo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def skip_reason(self) -> Optional[str]:
"""
# If self._should_skip is not None, then the result is cached on self._skip_reason and we can return it.
if self._should_skip is not None:
if self._should_skip is False:
if self._should_skip is True:
assert (
self._skip_reason is not None
), "Expected skip reason to be set if self._should_skip is True."
Expand Down

0 comments on commit 5a1c831

Please sign in to comment.