Skip to content

Commit

Permalink
fix directory check for DumpClassCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-QLB authored and hengyunabc committed Sep 20, 2023
1 parent 7676282 commit a23d93b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void process(CommandProcess process) {
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;
}
Expand Down

0 comments on commit a23d93b

Please sign in to comment.