mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-25 08:58:26 +00:00
fix(frontend): download node only when USE_SYSTEM_NODE is set to false (#5817)
This commit is contained in:
parent
b643b34d30
commit
5d619249bc
@ -6,10 +6,10 @@ node {
|
||||
// If true, it will download node using above parameters.
|
||||
// If false, it will try to use globally installed node.
|
||||
|
||||
if (project.hasProperty('useSystemNode') && project.getProperty('useSystemNode').toBoolean()) {
|
||||
download = false
|
||||
if (project.hasProperty('useSystemNode')) {
|
||||
download = ! project.getProperty('useSystemNode').toBoolean()
|
||||
} else {
|
||||
download = true
|
||||
download = false
|
||||
}
|
||||
|
||||
// Version of node to use.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user