Skip to content

Commit e17f0f5

Browse files
committed
fix(main): add App name as mandatory and bump up version
1 parent 8f38d39 commit e17f0f5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-chef",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Transparent React Boilerplate Apps",
55
"main": "index.js",
66
"repository": {

recipes/slim/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ program.parse(process.argv);
2929

3030
// Create App Directory.
3131
const appName = program.args[0];
32+
33+
if (!appName) {
34+
error('Error occurred: App name is mandatory to create your react dish!');
35+
}
36+
3237
const baseDirPath = `./${appName}`;
3338

3439
const tryAccess = (accessPath) => {

0 commit comments

Comments
 (0)