Skip to content

Commit

Permalink
Merge pull request #127 from akhilchoudhary2k/trunk
Browse files Browse the repository at this point in the history
fix: correct the update message. Closes #62
  • Loading branch information
brent-hoover authored Oct 18, 2022
2 parents 4243113 + 44896bc commit 7ab5268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/checkForNewVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ const pkg = require("../package.json");
*/
export default async function checkForNewVersion() {
const notifier = updateNotifier({ pkg });
notifier.notify();
const updateCommand = "npm i -g reaction-cli";
const updateMessage = `Run ${updateCommand} to update.`;
notifier.notify({ message: updateMessage });
}

0 comments on commit 7ab5268

Please # to comment.