mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Use Package.load_package instead of require_relative in package files to avoid global scope conflicts (See #7283, #3150, 3b09159) (#10202)
This commit is contained in:
committed by
GitHub
parent
0f1a3025ae
commit
99ac930743
@@ -1,5 +1,5 @@
|
||||
require 'package'
|
||||
require_relative 'py3_mercurial'
|
||||
Package.load_package("#{__dir__}/py3_mercurial.rb")
|
||||
|
||||
class Hg < Package
|
||||
description Py3_mercurial.description
|
||||
|
||||
Reference in New Issue
Block a user