Skip to content

Commit

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

* Update
  • Loading branch information
glenn-jocher authored Aug 1, 2022
1 parent 6717519 commit 39ce8ca
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 39ce8ca

Please sign in to comment.