We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33f38e commit 321ba28Copy full SHA for 321ba28
backend/logging/redaction.go
@@ -48,5 +48,10 @@ func redactPaths(attr slog.Attr) slog.Attr {
48
}
49
50
func isGamePath(str string) bool {
51
- return ficsitcli.FicsitCLI.GetInstallation(str) != nil
+ if ficsitcli.FicsitCLI != nil {
52
+ return ficsitcli.FicsitCLI.GetInstallation(str) != nil
53
+ }
54
+ // if ficsitcli is not initialized, we can't know if it's a game path
55
+ // so any code running before that should not log game paths
56
+ return false
57
0 commit comments