mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-03 12:48:48 +08:00
Merge pull request #209 from Hearen/typo-fix-in-prompts
fix some typos in error prompts
This commit is contained in:
commit
8c4f1c75c3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user