nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
300a861
)
loader: `identify_group` ignore local files that are not directories.
author
Jean Privat
<jean@pryen.org>
Fri, 17 Jun 2016 17:20:27 +0000
(13:20 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 17 Jun 2016 17:20:27 +0000
(13:20 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/loader.nit
patch
|
blob
|
history
diff --git
a/src/loader.nit
b/src/loader.nit
index
8ac6ef5
..
d1e4997
100644
(file)
--- a/
src/loader.nit
+++ b/
src/loader.nit
@@
-424,7
+424,7
@@
redef class ModelBuilder
do
var stat = dirpath.file_stat
- if stat == null then do
+ if stat == null or not stat.is_dir then do
# search dirless directories in known -I paths
if dirpath.chars.has('/') then return null
for p in paths do