mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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:
parent
c7c6c90062
commit
65e76a3c6b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue