Skip to content

Commit

Permalink
fix: correct the update message. Closes #62
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Choudhary <akhil.choudhary2000@gmail.com>
  • Loading branch information
akhilchoudhary2k committed Oct 15, 2022
1 parent b929dab commit 44896bc
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 44896bc

Please # to comment.