fix directory check for DumpClassCommand

pull/1699/merge
Allan-QLB 1 year ago committed by hengyunabc
parent 7676282f2c
commit a23d93ba45

@ -104,7 +104,7 @@ public class DumpClassCommand extends AnnotatedCommand {
try {
if (directory != null) {
File dir = new File(directory);
if (dir.isFile()) {
if (!dir.isDirectory()) {
process.end(-1, directory + " :is not a directory, please check it");
return;
}

Loading…
Cancel
Save