Skip to content

Commit 1b40521

Browse files
committed
additional state travel but without stepping
Signed-off-by: Tobias Gurtzick <[email protected]>
1 parent 1d2fcc1 commit 1b40521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/methods/v2/statetravel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ const DEFAULT = {
1818
};
1919

2020
class StateTravel {
21-
constructor (internals, file, driver, pdriver, stepOnly = true) {
21+
constructor (internals, file, driver, pdriver, step = true) {
2222
this.file = file;
2323
this.internals = internals;
2424
this.driver = driver;
2525
this.pdriver = pdriver;
2626
this._counter = 0;
2727
this._default = async function _default () {
28-
if (!stepOnly) {
28+
if (step) {
2929
await State.step(this.pdriver, ++this._counter, this.internals);
3030
}
3131

0 commit comments

Comments
 (0)