Skip to content

Commit 5d61924

Browse files
authored
fix(frontend): download node only when USE_SYSTEM_NODE is set to false (#5817)
1 parent b643b34 commit 5d61924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datahub-web-react/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ node {
66
// If true, it will download node using above parameters.
77
// If false, it will try to use globally installed node.
88

9-
if (project.hasProperty('useSystemNode') && project.getProperty('useSystemNode').toBoolean()) {
10-
download = false
9+
if (project.hasProperty('useSystemNode')) {
10+
download = ! project.getProperty('useSystemNode').toBoolean()
1111
} else {
12-
download = true
12+
download = false
1313
}
1414

1515
// Version of node to use.

0 commit comments

Comments
 (0)