Merge pull request #209 from Hearen/typo-fix-in-prompts

fix some typos in error prompts
This commit is contained in:
hengyunabc 2018-10-11 18:25:42 +08:00 committed by GitHub
commit 8c4f1c75c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}