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]+/);
|
||||
if (match[0]) {
|
||||
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(`Please update to IPFS version 0.4.15 or more recent: https://github.com/ipfs/ipfs-update`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue