Skip to content

Commit

Permalink
Fix error message in name update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Dec 11, 2024
1 parent 80dfd32 commit d07942c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const { updatePackageData } = require("./utils");

const name = argv[2];
if (!name) {
console.error("Missing name of new mini!");
console.error("Missing name of new story!");
exit(1);
}

updatePackageData((data) => {
data.name = name;
return data;
});
});

0 comments on commit d07942c

Please sign in to comment.