From 3e7b7308caae74ac6c87a387a2c9c4cfde03a527 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 5 Feb 2023 11:56:14 +0100 Subject: Handle new debug mode in is_checkpoint. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index ed62d77..2329cc6 100644 --- a/rules.js +++ b/rules.js @@ -7180,8 +7180,8 @@ exports.setup = function (seed, scenario, options) { exports.is_checkpoint = function (a, b) { let an = 0, bn = 0 - for (let line of a.log) if (line.startsWith(".h2")) ++an - for (let line of b.log) if (line.startsWith(".h2")) ++bn + for (let line of a.log) if (typeof line === "string" && line.startsWith(".h2")) ++an + for (let line of b.log) if (typeof line === "string" && line.startsWith(".h2")) ++bn return an !== bn } -- cgit v1.2.3