Skip to content

Commit 08da520

Browse files
committed
twing 4 starts at node version 8
1 parent fb5be3f commit 08da520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/consolidate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,9 +1772,9 @@ exports.twing = fromStringRenderer('twing');
17721772
*/
17731773

17741774
exports.twing.render = function(str, options, cb) {
1775-
if (!semver.satisfies(process.version, '>=6.0.0')) {
1775+
if (!semver.satisfies(process.version, '>=8.0.0')) {
17761776
return promisify(cb, function(cb) {
1777-
throw new Error('This node version is not supported for Twing. Please upgrade to at least node version 6.0.0 or a recommended version >=8.x');
1777+
throw new Error('This node version is not supported for Twing 4 (used in consolidate/express.js). Please upgrade to at least node version >=8.x');
17781778
});
17791779
}
17801780
return promisify(cb, function(cb) {

0 commit comments

Comments
 (0)