File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,6 @@ jobs:
103103
104104 - name : " Check for any unstaged changes"
105105 run : |
106- if [ 0 -ne $(git status --porcelain) ]; then
106+ if [ -n " $(git status --porcelain)" ]; then
107107 exit 1
108108 fi
Original file line number Diff line number Diff line change 11"""This is just a sample file"""
22
3- import httpx
43from __future__ import annotations
5-
6-
4+ import httpx
75def main () -> bool :
86 """Main"""
97 print ("The squared of 2 is" , squared (2 ))
108 return True
11-
12-
139def squared (value : int ) -> int :
1410 """Returns the squared value"""
1511 return value * value
16-
17-
1812def health_check () -> bool :
1913 """Returns true when github.com is accessible."""
2014 return httpx .get ("https://github.com" ).is_success
15+
16+
17+
You can’t perform that action at this time.
0 commit comments