From f4f2e081d7780eca9083bc43f453cdcf429dd094 Mon Sep 17 00:00:00 2001 From: Justin DiRose Date: Wed, 14 Oct 2020 14:05:10 -0500 Subject: [PATCH] FIX: Resolve issues running qunit via rake (#10922) discourse-perspective-api was not successfully running tests via the qunit:test rake task due to inconsistent naming between core and the repo. As a result we no longer need the mapping in the plugin rake task, too. --- lib/plugin/metadata.rb | 2 +- lib/tasks/plugin.rake | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plugin/metadata.rb b/lib/plugin/metadata.rb index a5d0952fe5f..de74293d80e 100644 --- a/lib/plugin/metadata.rb +++ b/lib/plugin/metadata.rb @@ -46,7 +46,7 @@ class Plugin::Metadata "discourse-no-bump", "discourse-oauth2-basic", "discourse-patreon", - "discourse-perspective", + "discourse-perspective-api", "discourse-plugin-discord-auth", "discourse-plugin-linkedin-auth", "discourse-plugin-office365-auth", diff --git a/lib/tasks/plugin.rake b/lib/tasks/plugin.rake index 70f546bb00a..57f659a82f5 100644 --- a/lib/tasks/plugin.rake +++ b/lib/tasks/plugin.rake @@ -12,8 +12,7 @@ task 'plugin:install_all_official' do ]) map = { - 'Canned Replies' => 'https://github.com/discourse/discourse-canned-replies', - 'discourse-perspective' => 'https://github.com/discourse/discourse-perspective-api' + 'Canned Replies' => 'https://github.com/discourse/discourse-canned-replies' } STDERR.puts "Allowing write to all repos!" if ENV['GIT_WRITE']