Add more logs
Dieser Commit ist enthalten in:
Ursprung
15c0245edf
Commit
4348a4ee68
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
2
.github/workflows/plugin-tests.yml
gevendort
2
.github/workflows/plugin-tests.yml
gevendort
|
@ -112,7 +112,7 @@ jobs:
|
|||
with:
|
||||
path: tmp/app-cache
|
||||
key: >-
|
||||
${{ hashFiles('.github/workflows/tests.yml') }}-
|
||||
${{ hashFiles('.github/workflows/plugin-tests.yml') }}-
|
||||
${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}-
|
||||
|
||||
- name: Restore database from cache
|
||||
|
|
|
@ -22,6 +22,8 @@ if Rails.env.production?
|
|||
}
|
||||
end
|
||||
|
||||
puts "BEFORE ADD ASSET PATHS"
|
||||
|
||||
if Rails.env.test?
|
||||
config = Rails.application.config
|
||||
plugin_asset_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets"
|
||||
|
@ -252,6 +254,7 @@ after_initialize do
|
|||
::InvitesController.prepend InvitesControllerCustomWizard
|
||||
::UsersController.prepend CustomWizardUsersController
|
||||
::Guardian.prepend CustomWizardGuardian
|
||||
puts "PREPENDING CSP EXTENSION"
|
||||
::ContentSecurityPolicy::Extension.singleton_class.prepend CustomWizardContentSecurityPolicyExtension
|
||||
|
||||
full_path = "#{Rails.root}/plugins/discourse-custom-wizard/assets/stylesheets/wizard/wizard_custom.scss"
|
||||
|
|
Laden …
In neuem Issue referenzieren