Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
fix: Rearrange argument for setTimeout call (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Nov 22, 2021
1 parent 70fea52 commit ce60e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/basedriver/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const APPLICATIONS_CACHE = new LRU({
dispose: (app, {fullPath}) => {
logger.info(`The application '${app}' cached at '${fullPath}' has ` +
`expired after ${CACHED_APPS_MAX_AGE}ms`);
setTimeout(0, async () => {
setTimeout(async () => {
if (fullPath && await fs.exists(fullPath)) {
await fs.rimraf(fullPath);
}
Expand Down

0 comments on commit ce60e0e

Please # to comment.