Skip to content
This repository was archived by the owner on Apr 2, 2021. It is now read-only.

Commit ab036f4

Browse files
committed
Fix changed MessageLogger parameters (#534)
1 parent f5291d7 commit ab036f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/groovy/com/devsoap/plugin/MessageLogger.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MessageLogger {
4141
* Further details about where the property has been moved
4242
*/
4343
static nagUserOfDiscontinuedProperty(String propertyName, String advice) {
44-
SingleMessageLogger.nagUserWith("The $propertyName property ${getDeprecationMessage()}. $advice")
44+
SingleMessageLogger.nagUserWith("The $propertyName property ${getDeprecationMessage()}. ", advice)
4545
}
4646

4747
/**
@@ -63,6 +63,6 @@ class MessageLogger {
6363
* the message to show the user
6464
*/
6565
static nag(String advice) {
66-
SingleMessageLogger.nagUserWith(advice)
66+
SingleMessageLogger.nagUserWith(advice, null)
6767
}
6868
}

0 commit comments

Comments
 (0)