Fix a bug in the temporary folder check in the test runner

The `noPrompt` option doesn't exist and should be `noPrompts`.
This commit is contained in:
Tim van der Meij 2020-07-26 14:50:37 +02:00
parent c7c6c90062
commit 65e76a3c6b
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -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;