mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
fix some typos in error prompts
This commit is contained in:
1 parent
dbcde9fe42
commit
21640a27f7
1 file changed
+2
-2
@@ -64,12 +64,12 @@ public class RedefineCommand extends AnnotatedCommand {
|
||||
for (String path : paths) {
|
||||
File file = new File(path);
|
||||
if (!file.exists()) {
|
||||
process.write("path is not exists, path:" + path + "\n");
|
||||
process.write("file does not exist, path:" + path + "\n");
|
||||
process.end();
|
||||
return;
|
||||
}
|
||||
if (!file.isFile()) {
|
||||
process.write("path is not a normal file, path:" + path + "\n");
|
||||
process.write("not a normal file, path:" + path + "\n");
|
||||
process.end();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user