Skip to content

Commit 4a13f66

Browse files
fix: testing
1 parent 4077bb0 commit 4a13f66

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/check-resolution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
if [ -f "$script_path" ]; then
4747
echo "Running script: $script_path"
48-
answer=$(python $script_path)
48+
answer=$(python "$script_path")
4949
echo "Answer: $answer"
5050
echo "answer=${answer}" >> $GITHUB_OUTPUT
5151
else

puzzles/2015/day-1/resolution.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
def main():
2-
print("Hello world!")
2+
return "Hello world!"
3+
4+
if __name__ == "__main__":
5+
print(main())

0 commit comments

Comments
 (0)