diff --git a/packages/yonode/package.json b/packages/yonode/package.json index 2ac40f08..6ffbd4da 100644 --- a/packages/yonode/package.json +++ b/packages/yonode/package.json @@ -1,7 +1,7 @@ { "name": "yonode", "description": "A Web Server Framework for Node.js", - "version": "0.5.4-beta", + "version": "0.5.5-beta", "author": "Mr Sharafdin", "license": "MIT", "main": "./src/index.js", diff --git a/packages/yonode/src/index.js b/packages/yonode/src/index.js index c46ca43f..6d4b9bf5 100755 --- a/packages/yonode/src/index.js +++ b/packages/yonode/src/index.js @@ -112,6 +112,7 @@ if (!projectName) { console.log("The directory is not empty."); process.exit(1); } + projectName = name.projectName, main() } else { projectName = name.projectName, main() } }) } else {