Skip to content

Commit

Permalink
fix: Arguments order for the LRUCache.dispose call
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 25, 2023
1 parent cd0c2b2 commit a131988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tools/aab-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import crypto from 'crypto';

const AAB_CACHE = new LRUCache({
max: 10,
dispose: (hash, extractedFilesRoot) => fs.rimraf(extractedFilesRoot),
dispose: (extractedFilesRoot) => fs.rimraf(extractedFilesRoot),
});
const AAB_CACHE_GUARD = new AsyncLock();
const UNIVERSAL_APK = 'universal.apk';
Expand Down
2 changes: 1 addition & 1 deletion lib/tools/apks-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const BASE_APK = 'base-master.apk';
const LANGUAGE_APK = (lang) => `base-${lang}.apk`;
const APKS_CACHE = new LRUCache({
max: 10,
dispose: (apksHash, extractedFilesRoot) => fs.rimraf(extractedFilesRoot),
dispose: (extractedFilesRoot) => fs.rimraf(extractedFilesRoot),
});
const APKS_CACHE_GUARD = new AsyncLock();
const BUNDLETOOL_TIMEOUT_MS = 4 * 60 * 1000;
Expand Down

0 comments on commit a131988

Please sign in to comment.