missing bracket

This commit is contained in:
Sam 2017-07-26 13:11:08 -04:00
parent 2c6ed64ebe
commit 2d41c5ed3c
1 changed files with 3 additions and 3 deletions

View File

@ -105,16 +105,16 @@ task 'plugin:qunit', [:plugin, :timeout] do |t, args|
cmd = 'LOAD_PLUGINS=1 ' cmd = 'LOAD_PLUGINS=1 '
cmd += 'QUNIT_SKIP_CORE=1 ' cmd += 'QUNIT_SKIP_CORE=1 '
if args[:plugin] == "*" if args[:plugin] == "*"
puts "Running qunit tests for all plugins" puts "Running qunit tests for all plugins"
else else
puts "Running qunit tests for #{args[:plugin]}" puts "Running qunit tests for #{args[:plugin]}"
cmd += "QUNIT_SINGLE_PLUGIN='#{args[:plugin]}' " cmd += "QUNIT_SINGLE_PLUGIN='#{args[:plugin]}' "
end end
cmd += "#{rake} qunit:test" cmd += "#{rake} qunit:test"
cmd += "[#{args[:timeout]}" if args[:timeout] cmd += "[#{args[:timeout]}]" if args[:timeout]
sh cmd sh cmd
end end