Skip to content

Commit 0a754e2

Browse files
committed
Don't save cache without version
1 parent cd5fa7b commit 0a754e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function saveCache(
6868
manager.clearCache();
6969
}
7070

71-
if (shouldSaveOnlineCache(firstRun, changes)) {
71+
if (shouldSaveOnlineCache(firstRun, changes) && SCRIPT_VERSION) {
7272
const stringifiedManagerState = JSON.stringify(managerState);
7373

7474
debug(

0 commit comments

Comments
 (0)