Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…to have maximum compatibility with old node, switches to good ol’ concat. #1701
  • Loading branch information
zachleat committed Mar 19, 2021
1 parent 608c297 commit a596d0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
const pkg = require("./package.json");
require("please-upgrade-node")(pkg, {
message: function (requiredVersion) {
return `Eleventy requires Node ${requiredVersion}. You’ll need to upgrade Node to use Eleventy!`;
return (
"Eleventy requires Node " +
requiredVersion +
". You will need to upgrade Node to use Eleventy!"
);
},
});

Expand Down

0 comments on commit a596d0a

Please sign in to comment.