mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Prevent builds on Node 7+ until they're fixed
This commit is contained in:
parent
2095015e82
commit
0efd95e0ea
@ -19,6 +19,8 @@ function verifyNode () {
|
|||||||
const majorVersion = fullVersion.split('.')[0]
|
const majorVersion = fullVersion.split('.')[0]
|
||||||
if (majorVersion >= 4) {
|
if (majorVersion >= 4) {
|
||||||
console.log(`Node:\tv${fullVersion}`)
|
console.log(`Node:\tv${fullVersion}`)
|
||||||
|
} else if (majorVersion >= 7) {
|
||||||
|
throw new Error(`Atom does not build properly on node v7+. node v${fullVersion} is installed.`)
|
||||||
} else {
|
} else {
|
||||||
throw new Error(`node v4+ is required to build Atom. node v${fullVersion} is installed.`)
|
throw new Error(`node v4+ is required to build Atom. node v${fullVersion} is installed.`)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user