summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-07 14:06:58 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-07 14:06:58 +0100
commitf05dc6788756892c56e38fec8e91a5d61d79716b (patch)
treec74a9c97fec9cb830fd7fbbd51f4b5d3d7cbd65e
parentca5e57c3b78169120554c2322d8c3fcdd45cda56 (diff)
downloadgitbook-f05dc6788756892c56e38fec8e91a5d61d79716b.zip
gitbook-f05dc6788756892c56e38fec8e91a5d61d79716b.tar.gz
gitbook-f05dc6788756892c56e38fec8e91a5d61d79716b.tar.bz2
Improve version suggestion
-rw-r--r--lib/config/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index 7f75733..edc048c 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -54,7 +54,7 @@ Config.prototype.load = function() {
throw new Error('GitBook version doesn\'t satisfy version required by the book: '+that.options.gitbook);
}
if (that.options.gitbook != '*' && !semver.satisfies(semver.inc(gitbook.version, 'patch'), that.options.gitbook)) {
- that.log.warn.ln('gitbook version specified in your book.json might be too strict for future patches, \''+(_.first(gitbook.version.split('.'))+'.x.x')+'\' is more adequate');
+ that.log.warn.ln('gitbook version specified in your book.json might be too strict for future patches, \'>='+(_.first(gitbook.version.split('.'))+'.x.x')+'\' is more adequate');
}
that.options.plugins = plugins.toList(that.options.plugins);