Skip to content

Commit

Permalink
fixing a little bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadali-arjomand committed Sep 11, 2023
1 parent a5f4bf6 commit 2983488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ function newCmd(projectName) {
fs.writeFileSync(projectName + "/Scripts/Components/BottomMenu.js", archive.component);
fs.writeFileSync(projectName + "/Scripts/Pages/HomePage.js", archive.page);
fs.writeFileSync(projectName + "/Scripts/Hooks/Fisher.js", archive.fisher);
fs.writeFileSync(projectName + "/Scripts/Accessors/Manager.js", archive.acsmgr);
fs.writeFileSync(projectName + "/.htaccess", archive.apache);
fs.writeFileSync(projectName + "/nginx.conf", archive.nginx);

Expand Down Expand Up @@ -358,6 +359,7 @@ function monsterizeCmd() {
fs.writeFileSync("public/Scripts/Components/BottomMenu.js", archive.component);
fs.writeFileSync("public/Scripts/Pages/HomePage.js", archive.page);
fs.writeFileSync("public/Scripts/Hooks/Fisher.js", archive.fisher);
fs.writeFileSync("public/Scripts/Accessors/Manager.js", archive.acsmgr);
fs.writeFileSync("public/Scripts/Lib/Monster.js", archive.monsterjs);
fs.writeFileSync("App/Models/Singlight.php", archive.singlightphp);
fs.writeFileSync("config/singlight.php", archive.monsterconf);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "singlighter",
"version": "2.4.0",
"version": "2.4.1",
"description": "An installer/assistant for SinglightJs framework",
"main": "index.js",
"bin": "index.js",
Expand Down

0 comments on commit 2983488

Please sign in to comment.