Debugging page importation via snippet.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-08-21 11:26:24 -05:00
parent 45c4762201
commit a6e49448fa

View File

@ -61,7 +61,7 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree withRemote: externalDocLocati
(self hasBlockUID: snippet uid) (self hasBlockUID: snippet uid)
ifTrue: [ | existingPage | ifTrue: [ | existingPage |
existingPage := self pages existingPage := self pages
detect: [ :pageTemp | pageTemp includesSnippetUid: snippet uid ] ifNone: [ ^ self ]. detect: [ :pageTemp | pageTemp includesSnippetUid: snippet uid ] ifNone: [ ^ snippet ].
self importErrorForLocal: existingPage withRemote: externalDocLocation. self importErrorForLocal: existingPage withRemote: externalDocLocation.
^ self ] ^ self ]
ifFalse: [ snippet database: self. ifFalse: [ snippet database: self.