mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-28 14:55:46 +01:00
Remove redundant error messages.
This commit is contained in:
@@ -322,14 +322,8 @@ lookup:
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
|
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
|
||||||
if (!silent) {
|
if (!silent)
|
||||||
if (file.exists() && file.isDirectory())
|
dactyl.echoerr("E484: Can't open file " + filename.quote());
|
||||||
dactyl.echomsg("Cannot source a directory: " + filename.quote(), 0);
|
|
||||||
else
|
|
||||||
dactyl.echomsg("could not source: " + filename.quote(), 1);
|
|
||||||
dactyl.echoerr("E484: Can't open file " + filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user