Merge pull request #730 from rocboss/copilot/fix-github-actions-job-failure

fix: syntax error in internal/conf/conf.go breaks entire build
main
ROC 2 months ago committed by GitHub
commit 0b35d12b74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -145,9 +145,7 @@ func setupSetting(suite []string, noDefault bool) error {
// Validate critical security settings
if JWTSetting.Secret == "" {
fmt.Fprintf(os.Stderr, "fatal: JWT Secret is not set. Generate one with: openssl rand -base64 32
Set it in custom/config.yaml under JWT.Secret
")
fmt.Fprintf(os.Stderr, "fatal: JWT Secret is not set. Generate one with: openssl rand -base64 32\nSet it in custom/config.yaml under JWT.Secret\n")
os.Exit(1)
}

Loading…
Cancel
Save