fix: correct syntax error in internal/conf/conf.go (newline in string literal)

copilot/fix-github-actions-job-failure
copilot-swe-agent[bot] 1 week ago committed by GitHub
parent 65c0d4299a
commit 23f13facae
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