diff --git a/src/MiniDocs/LeDatabase.extension.st b/src/MiniDocs/LeDatabase.extension.st index de501c0..b084682 100644 --- a/src/MiniDocs/LeDatabase.extension.st +++ b/src/MiniDocs/LeDatabase.extension.st @@ -66,16 +66,9 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree withRemote: externalDocLocati self importErrorForLocal: existingPage withRemote: externalDocLocation. ^ self ] - ifNone: [ - snippet database: self. - self registerSnippet: snippet - ]. - + ifNone: [ snippet database: self ]. ] - ifFalse: [ - snippet database: self. - self registerSnippet: snippet - ] + ifFalse: [ snippet database: self ] ]. self addPage: page. ^ page