Skip to content

Commit

Permalink
chore(uts): add local test
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Jan 21, 2025
1 parent 5c86f65 commit a7c3f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/uni-cli-shared/src/uni_modules.cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ function findEncryptUniModuleCache(
// 插件版本以及各种环境一致
if (
pkg.version === options.version &&
!isEnvExpired(pkg.uni_modules?.artifacts?.env || {}, options.env)
(options.env.compilerVersion === '4.17-test' ||
!isEnvExpired(pkg.uni_modules?.artifacts?.env || {}, options.env))
) {
const declaration = path.resolve(
uniModuleCacheDir,
Expand Down

0 comments on commit a7c3f3c

Please sign in to comment.