Skip to content

Commit

Permalink
fix: uninitialized constant Tap::TAP_DIRECTORY (#8)
Browse files Browse the repository at this point in the history
* start
* if Tap::TAP_DIRECTORY is uninitialized use HOMEBREW_TAP_DIRECTORY

* use just HOMEBREW_TAP_DIRECTORY
  • Loading branch information
ParkMyCar authored Aug 27, 2024
1 parent 327bb4f commit 64628dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/toolchain.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

TAP_PATH = (Tap::TAP_DIRECTORY/"MaterializeInc"/"homebrew-crosstools").freeze
TAP_PATH = (HOMEBREW_TAP_DIRECTORY/"MaterializeInc"/"homebrew-crosstools").freeze

class Toolchain < Formula
desc "Appease RuboCop; not used"
Expand Down

0 comments on commit 64628dc

Please sign in to comment.