mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
removed warning about already existing constants
This commit is contained in:
parent
232f5bd743
commit
1a38f66c7e
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue