!626 lite工程缓存目录命名为lite_cache

Merge pull request !626 from youbing54/master
This commit is contained in:
openharmony_ci 2024-06-03 02:33:12 +00:00 committed by Gitee
commit 893db03362
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -52,7 +52,8 @@ class ResultStates {
const buildPath = this.options.build;
const commonPaths = new Set();
const i18nPaths = new Set();
const cachePath = path.resolve(process.env.cachePath, '.rich_cache');
const cachePath = path.resolve(process.env.cachePath, process.env.DEVICE_LEVEL === 'rich' ?
'.rich_cache' : '.lite_cache');
const entryFile = path.join(cachePath, 'entry.json');
const entryPaths = new Set();