mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: Update to lastest rubocop-discourse
This commit is contained in:

committed by
Loïc Guitaut

parent
3b6d4c830f
commit
2a28cda15c
@ -10,7 +10,7 @@ module PluginGem
|
||||
|
||||
spec_file = spec_path + "/#{name}-#{version}"
|
||||
|
||||
unless platform_variants(spec_file).find(&File.method(:exist?)).present?
|
||||
if platform_variants(spec_file).find(&File.method(:exist?)).blank?
|
||||
command =
|
||||
"gem install #{name} -v #{version} -i #{gems_path} --no-document --ignore-dependencies --no-user-install"
|
||||
command += " --source #{opts[:source]}" if opts[:source]
|
||||
|
Reference in New Issue
Block a user