mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 06:44:37 +00:00
use right version
This commit is contained in:
parent
e02648dbef
commit
b0a64cc043
@ -21,7 +21,7 @@ class IPFSProcess extends ProcessWrapper {
|
|||||||
const match = stdout.match(/[0-9]+\.[0-9]+\.[0-9]+/);
|
const match = stdout.match(/[0-9]+\.[0-9]+\.[0-9]+/);
|
||||||
if (match[0]) {
|
if (match[0]) {
|
||||||
const versions = match[0].split('.');
|
const versions = match[0].split('.');
|
||||||
if (versions[0] <= 0 && versions[1] <= 4 && versions[2] <= 15) {
|
if (versions[0] <= 0 && versions[1] <= 4 && versions[2] <= 14) {
|
||||||
console.error(`You are using IPFS version ${match[0]} which has an issue with processes.`);
|
console.error(`You are using IPFS version ${match[0]} which has an issue with processes.`);
|
||||||
console.error(`Please update to IPFS version 0.4.15 or more recent: https://github.com/ipfs/ipfs-update`);
|
console.error(`Please update to IPFS version 0.4.15 or more recent: https://github.com/ipfs/ipfs-update`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user