Improving repository detection.
This commit is contained in:
parent
35788f5ca9
commit
d7ce1331f4
@ -101,7 +101,7 @@ TiddlyWiki >> detectRepository [
|
||||
| folder folderItems |
|
||||
folder := self file parent.
|
||||
folderItems := folder children.
|
||||
[(folderItems select: [ :path | path fullName endsWith: '.fossil' ]) isEmpty]
|
||||
[(folderItems select: [ :path | path basename beginsWith: '.fossil' ]) isEmpty]
|
||||
whileTrue: [folder := folder parent.
|
||||
folderItems := folder children.].
|
||||
^ folder
|
||||
|
Loading…
Reference in New Issue
Block a user