mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Add Homebrew libs to LOAD_PATH in audit_modified_casks (#22603)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
require 'pathname'
|
||||
require 'open3'
|
||||
|
||||
$LOAD_PATH.unshift(Pathname(`brew --repository`.chomp).realpath.join('Library/Homebrew'))
|
||||
$LOAD_PATH.unshift(Pathname(__FILE__).realpath.join('../../../lib'))
|
||||
|
||||
require 'vendor/homebrew-fork/global'
|
||||
|
||||
Reference in New Issue
Block a user