use right version

This commit is contained in:
Jonathan Rainville 2018-05-25 13:50:44 -04:00
parent e02648dbef
commit b0a64cc043
1 changed files with 1 additions and 1 deletions

View File

@ -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`);
}