Skip to content

Commit

Permalink
Remove assert not is_docker() from GitHub checks (ultralytics#8813)
Browse files Browse the repository at this point in the history
* Update

* Update
  • Loading branch information
glenn-jocher authored and Clay Januhowski committed Sep 8, 2022
1 parent b218b6d commit 5d2746d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ def check_git_status(repo='ultralytics/yolov5'):
msg = f', for updates see {url}'
s = colorstr('github: ') # string
assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg
assert not is_docker(), s + 'skipping check (Docker image)' + msg
assert check_online(), s + 'skipping check (offline)' + msg

splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())
Expand Down

0 comments on commit 5d2746d

Please sign in to comment.