Skip to content

Commit

Permalink
Avoid triggering "uninitalized constant Livecheck::Formula" error whe…
Browse files Browse the repository at this point in the history
…n loading casks
  • Loading branch information
Mick235711 authored and ondrejfuhrer committed Apr 29, 2024
1 parent e0a85dd commit 4a11007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/extend/cask.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "livecheck/livecheck"

# For backward-compatibility
# See https://github.com/buo/homebrew-cask-upgrade/issues/97
CASKROOM = (Cask.methods.include?(:caskroom) ? Cask.caskroom : Cask::Caskroom.path).freeze
Expand Down

0 comments on commit 4a11007

Please sign in to comment.