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.
This commit is contained in:
JP Simard
2016-02-06 14:35:48 -08:00
parent 711f23a9b9
commit 09e9d62056
@@ -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.")
}