Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make upgrade a no-op if .no-upgrade exist.

  • Loading branch information...
commit 07bc3ec47141402d238837b1235e3627b924c557 1 parent 7e35e14
@rejeep rejeep authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  cask-cli.el
View
3  cask-cli.el
@@ -140,8 +140,7 @@ already is installed, it will not be installed again."
This command requires that Cask is installed using Git and that
Git is available in `exec-path'."
- (if (f-exists? (f-expand ".no-upgrade" cask-directory))
- (error "Refusing to upgrade because .no-upgrade file exist")
+ (unless (f-exists? (f-expand ".no-upgrade" cask-directory))
(unwind-protect
(progn
(epl-change-package-dir cask-bootstrap-dir)
Please sign in to comment.
Something went wrong with that request. Please try again.