mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AbstractInspectionCmdlineOptions#validate: more useful message instead of just printing null
GitOrigin-RevId: db86a4bf2e7ede413a406b50c32215c9c2e6ead9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0d70c5334a
commit
ad9dd8917e
+1
-1
@@ -80,7 +80,7 @@ public abstract class AbstractInspectionCmdlineOptions implements InspectionTool
|
||||
if (getDirToInspectProperty() != null) {
|
||||
final String dirToInspect = determineDirectoryToInspect(projectPath);
|
||||
if (dirToInspect == null) {
|
||||
throw new CmdlineArgsValidationException("Directory '" + dirToInspect + "' not found.");
|
||||
throw new CmdlineArgsValidationException("Directory to inspect for project '" + projectPath + "' not found.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user