Skip to content

Commit

Permalink
Merge pull request #159 from reactioncommerce/revert-127-trunk
Browse files Browse the repository at this point in the history
Revert "fix: correct the update message. Closes #62"
  • Loading branch information
brent-hoover authored Oct 25, 2022
2 parents 5573370 + 32558f9 commit 073d83b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions commands/create-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ const extraDependencyMap = {
* @summary creates api, admin, and storefront projects at same time in separate directories.
* @param {String} projectName - The name of the project to create
* @param {Object} options - Project options
* @returns {Boolean} true if success
*/
export async function createProjectAll(projectName, options) {
createProjectApi(projectName + "Api", options);
createProjectAdmin(projectName + "Admin", options);
createProjectStorefront(projectName + "Storefront", options);
createProjectApi(`${projectName}Api`, options);
createProjectAdmin(`${projectName}Admin`, options);
createProjectStorefront(`${projectName}Storefront`, options);
return true;
}

Expand Down
4 changes: 1 addition & 3 deletions utils/checkForNewVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ const pkg = require("../package.json");
*/
export default async function checkForNewVersion() {
const notifier = updateNotifier({ pkg });
const updateCommand = "npm i -g reaction-cli";
const updateMessage = `Run ${updateCommand} to update.`;
notifier.notify({ message: updateMessage });
notifier.notify();
}

0 comments on commit 073d83b

Please sign in to comment.