mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
Fix error reporting (#6061)
This commit is contained in:
@@ -280,7 +280,7 @@ public struct Configuration {
|
||||
if useDefaultConfigOnFailure ?? !hasCustomConfigurationFiles {
|
||||
// No files were explicitly specified, so maybe the user doesn't want a config at all -> warn
|
||||
queuedPrintError(
|
||||
"\(Issue.wrap(error: error).errorDescription) – Falling back to default configuration"
|
||||
"\(Issue.wrap(error: error).localizedDescription) – Falling back to default configuration"
|
||||
)
|
||||
self.init(rulesMode: rulesMode, cachePath: cachePath)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user