mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-02-13 21:31:08 +08:00
fix null pointer exception
This commit is contained in:
parent
83974cfb2a
commit
f624c9131e
@ -66,7 +66,7 @@ public class TestableMojo extends AbstractMojo
|
||||
return;
|
||||
}
|
||||
String extraArgs = "";
|
||||
if (!logLevel.isEmpty()) {
|
||||
if (logLevel != null && !logLevel.isEmpty()) {
|
||||
extraArgs += logLevel;
|
||||
}
|
||||
final String oldArgs = projectProperties.getProperty(testArgsPropertyKey);
|
||||
|
Loading…
Reference in New Issue
Block a user