From 65e76a3c6b30590259ffcc209ccf9df06a5dd8fc Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 26 Jul 2020 14:50:37 +0200 Subject: [PATCH] Fix a bug in the temporary folder check in the test runner The `noPrompt` option doesn't exist and should be `noPrompts`. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 6a7758195..8f7d267fa 100644 --- a/test/test.js +++ b/test/test.js @@ -275,7 +275,7 @@ function startRefTest(masterMode, showRefImages) { } function checkRefsTmp() { if (masterMode && fs.existsSync(refsTmpDir)) { - if (options.noPrompt) { + if (options.noPrompts) { testUtils.removeDirSync(refsTmpDir); setup(); return;