Debugging page importation via snippet.
This commit is contained in:
parent
45c4762201
commit
a6e49448fa
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user