diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-05 11:56:14 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-05 11:56:14 +0100 |
commit | 3e7b7308caae74ac6c87a387a2c9c4cfde03a527 (patch) | |
tree | bbf5f1f5815e358140f3b2d10d4136906fc38d0f | |
parent | 708f37b2fdf35cd44db30c370198c49761d4bf80 (diff) | |
download | rommel-in-the-desert-3e7b7308caae74ac6c87a387a2c9c4cfde03a527.tar.gz |
Handle new debug mode in is_checkpoint.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |