diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 7731e0c..63e33d0 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -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