mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
removed warning about already existing constants
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
module Plugin; end
|
||||
|
||||
class Plugin::Metadata
|
||||
FIELDS = [:name, :about, :version, :authors]
|
||||
FIELDS ||= [:name, :about, :version, :authors]
|
||||
attr_accessor *FIELDS
|
||||
|
||||
def self.parse(text)
|
||||
|
Reference in New Issue
Block a user