to string for newdefault (#160)

This commit is contained in:
Chris O'Haver 2019-05-01 10:43:03 -04:00 committed by GitHub
parent 2821bdd6c4
commit c828c68740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,8 @@ func (n *Notice) ToString() string {
}
if n.Severity == unsupported {
s += "is unsupported by this migration tool in " + n.Version + "."
} else if n.Severity == newdefault {
s += "is added as a default in " + n.Version + "."
} else {
s += "is " + n.Severity + " in " + n.Version + "."
}