mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:58:00 +01:00
fix :source error message
This commit is contained in:
@@ -764,7 +764,7 @@ lookup:
|
||||
{
|
||||
if (!silent)
|
||||
{
|
||||
if (file.isDirectory())
|
||||
if (file.exists() && file.isDirectory())
|
||||
liberator.echomsg("Cannot source a directory: \"" + filename + "\"", 0);
|
||||
else
|
||||
liberator.echomsg("could not source: \"" + filename + "\"", 1);
|
||||
|
||||
Reference in New Issue
Block a user