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