Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 82b4fd5

Browse files
committed
fix: shouldSnapshot returns correct value
1 parent 11db7aa commit 82b4fd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ function getCompilationContext(projectDir, env) {
3737
function shouldSnapshot(config) {
3838
const platformSupportsSnapshot = isAndroid(config.platform);
3939
const osSupportsSnapshot = os.type() !== "Windows_NT";
40+
41+
return platformSupportsSnapshot && osSupportsSnapshot;
4042
}
4143

4244
function setProcessInitDirectory(dir) {

0 commit comments

Comments
 (0)