mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Fix no-changes being incorrectly checked
This commit is contained in:
@@ -116,7 +116,7 @@ export class WriteHandler extends DatabaseHandler {
|
||||
}
|
||||
|
||||
async logUpdatesAndComplete(comment: string, references: Reference[], authorizer: string) {
|
||||
if (this.writeList.length === 0) {
|
||||
if (this.writeList.flatMap(writeItem => writeItem.items).length === 0) {
|
||||
logger.info(`No changes detected, skipping logging.`)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user