A platform for community discussion. Free, open, simple.
FIX: unable to import private themes due to key checking
Samf1ef46d7b7e1
diff --git a/lib/theme_store/git_importer.rb b/lib/theme_store/git_importer.rbindex d65d84e9a6c..761aebbf3f8 100644--- a/lib/theme_store/git_importer.rb+++ b/lib/theme_store/git_importer.rb@@ -78,7 +78,7 @@ class ThemeStore::GitImporterendDiscourse::Utils.execute_command({- 'GIT_SSH_COMMAND' => "ssh -i #{ssh_folder}/id_rsa"+ 'GIT_SSH_COMMAND' => "ssh -i #{ssh_folder}/id_rsa -o StrictHostKeyChecking=no"}, "git", "clone", @url, @temp_folder)ensureFileUtils.rm_rf ssh_folder