We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83cb43d commit 2a33065Copy full SHA for 2a33065
1 file changed
lib/pause.js
@@ -37,7 +37,7 @@ const pause = function (passedObject = {}) {
37
})
38
39
event.dispatcher.on(event.test.finished, () => {
40
- finish()
+ if (typeof finish === 'function') finish()
41
recorder.session.restore('pause')
42
rl.close()
43
history.save()
@@ -94,7 +94,7 @@ async function parseInput(cmd) {
94
recorder.session.start('pause')
95
if (cmd === '') next = true
96
if (!cmd || cmd === 'resume' || cmd === 'exit') {
97
98
99
100
0 commit comments