From a430b228b6ce392374bbdd92db2ebc9a967efcca Mon Sep 17 00:00:00 2001 From: johntharian Date: Sun, 3 Nov 2019 16:23:14 +0530 Subject: [PATCH] removed cask error --- dvc/updater.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dvc/updater.py b/dvc/updater.py index 21251e4dab..5b17cfdea0 100644 --- a/dvc/updater.py +++ b/dvc/updater.py @@ -123,7 +123,6 @@ def _get_update_instructions(self): "yum": "Run {yellow}yum{reset} update dvc", "yay": "Run {yellow}yay{reset} {blue}-S{reset} dvc", "formula": "Run {yellow}brew{reset} upgrade dvc", - "cask": "Run {yellow}brew cask{reset} upgrade dvc", "apt": ( "Run {yellow}apt-get{reset} install" " {blue}--only-upgrade{reset} dvc" @@ -173,10 +172,6 @@ def _get_darwin(self): # NOTE: both pkg and cask put dvc binary into /usr/local/bin, # so in order to know which method of installation was used, # we need to actually call `brew cask` - ret = os.system("brew cask ls dvc") - if ret == 0: - return "cask" - return None def _get_windows(self):