From 65bf16bfcdd4821883927d986b27617d8c12ba6a Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Fri, 30 Jul 2021 20:20:36 +0200 Subject: [PATCH] improve merge debug summary --- lib/src/kdbx_format.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/kdbx_format.dart b/lib/src/kdbx_format.dart index c028d9f..3dd4be4 100644 --- a/lib/src/kdbx_format.dart +++ b/lib/src/kdbx_format.dart @@ -505,7 +505,9 @@ class MergeContext implements OverwriteContext { } String debugSummary() { - return 'Changes: ${changes.length}, Deleted: ${deletedObjects.length}, Warnings: ${warnings.join(', ')}'; + return 'Changes: ${changes.length}, ' + 'Deleted: ${deletedObjects.length}, ' + 'Warnings: ${warnings.isEmpty ? 'None' : warnings.join(', ')}'; } @override