Skip to content

Commit

Permalink
Update error message to match function name
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed Jan 26, 2021
1 parent 50d660b commit 502d571
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function waitForFileExists( filePath, timeout = 10000 ) {
while ( ! fs.existsSync( filePath ) ) {
await delay( 1000 );
if ( Date.now() - start > timeout ) {
throw Error( 'waitFile timeout' );
throw Error( 'waitForFileExists timeout' );
}
}
}
Expand Down

0 comments on commit 502d571

Please sign in to comment.