File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,11 @@ export function _purgeAndRecomposeStories (connection: FalseProphetPartitionConn
120120 if ( purgedStory === purgedRecital ) break ;
121121
122122 if ( purgedStory . isProphecy && ! purgedStory . schismDescription ) {
123- for ( const partitionURI of Object . keys ( ( purgedStory . meta || { } ) . partitions ) ) {
123+ const purgedPartitionURIs = ! purgedStory . meta ? [ ]
124+ : purgedStory . meta . partitions ? Object . keys ( purgedStory . meta . partitions )
125+ : purgedStory . meta . partitionURI ? [ purgedStory . meta . partitionURI ]
126+ : [ ] ;
127+ for ( const partitionURI of purgedPartitionURIs ) {
124128 const reviewedPartition = reviewedPartitions [ partitionURI ] ;
125129 if ( ! reviewedPartition ) continue ;
126130 purgedStory . needsReview = true ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @valos/prophet" ,
3- "version" : " 0.34.0-prerelease.16" ,
3+ "version" : " 0.34.0-prerelease.16.1 " ,
44 "description" : " Valaa Prophet API, schema" ,
55 "license" : " MIT" ,
66 "author" : " Valaa Technologies Ltd" ,
You can’t perform that action at this time.
0 commit comments