Skip to content

Commit

Permalink
Output the version in this error message too, why not?
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Oct 20, 2023
1 parent db37e6c commit 7f0ada8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const pkg = require("./package.json");
require("please-upgrade-node")(pkg, {
message: function (requiredVersion) {
return (
"Eleventy requires Node " +
"Eleventy " + pkg.version + " requires Node " +
requiredVersion +
". You will need to upgrade Node to use Eleventy!"
);
Expand Down

0 comments on commit 7f0ada8

Please sign in to comment.