Skip to content

Commit 19429de

Browse files
committed
fix return run
1 parent 6381383 commit 19429de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitbugs/bug.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def run(self, workdir: str) -> bool:
145145
base_image, runner_image, self.__get_diff_path(diff_folder_path)
146146
)
147147

148+
# TODO: use a hardcoded path to act
148149
executor = TestExecutor(
149150
repo_clone=repo,
150151
language=bug.language,
@@ -178,8 +179,7 @@ def number_of_tests(runs):
178179
return (
179180
len(runs) > 0
180181
and len(failed_tests) == 0
181-
and number_of_tests(runs)
182-
>= 0 # TODO: check against the number of tests in the bug info
182+
and number_of_tests(runs) > 0 # TODO: check against the number of tests in the bug info
183183
)
184184

185185
def __str__(self) -> str:

0 commit comments

Comments
 (0)