Skip to content

Commit a7c3f3c

Browse files
committed
chore(uts): add local test
1 parent 5c86f65 commit a7c3f3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/uni-cli-shared/src/uni_modules.cloud.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ function findEncryptUniModuleCache(
292292
// 插件版本以及各种环境一致
293293
if (
294294
pkg.version === options.version &&
295-
!isEnvExpired(pkg.uni_modules?.artifacts?.env || {}, options.env)
295+
(options.env.compilerVersion === '4.17-test' ||
296+
!isEnvExpired(pkg.uni_modules?.artifacts?.env || {}, options.env))
296297
) {
297298
const declaration = path.resolve(
298299
uniModuleCacheDir,

0 commit comments

Comments
 (0)