From 09e9d62056bbfabb9052fbf8165fcfda13ded65e Mon Sep 17 00:00:00 2001 From: JP Simard Date: Sat, 6 Feb 2016 14:35:48 -0800 Subject: [PATCH] print deprecation warning for 'enabled_rules' to stderr rather than stdout to follow the convention used elsewhere in the project as to not invalidate the output structure from formatted violation reporters like json, csv & checkstyle. --- Source/SwiftLintFramework/Models/Configuration.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SwiftLintFramework/Models/Configuration.swift b/Source/SwiftLintFramework/Models/Configuration.swift index 54d18d10c..2d42e2465 100644 --- a/Source/SwiftLintFramework/Models/Configuration.swift +++ b/Source/SwiftLintFramework/Models/Configuration.swift @@ -99,7 +99,7 @@ public struct Configuration: Equatable { public init?(dict: [String: AnyObject]) { // Deprecation warning for "enabled_rules" if dict[ConfigurationKey.EnabledRules.rawValue] != nil { - queuedPrint("'\(ConfigurationKey.EnabledRules.rawValue)' has been renamed to " + + queuedPrintError("'\(ConfigurationKey.EnabledRules.rawValue)' has been renamed to " + "'\(ConfigurationKey.OptInRules.rawValue)' and will be completely removed in a " + "future release.") }