Skip to content

Commit

Permalink
Merge pull request #11 from Jack-Bailey/main
Browse files Browse the repository at this point in the history
Fix a couple bugs
  • Loading branch information
jub0t authored Sep 15, 2022
2 parents 717f3d1 + 476a63f commit c69ceea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ app.use("/delete_logs", require("".concat(__dirname, "/routes/delete_logs")));
app.use("/npm_install", require("".concat(__dirname, "/routes/npm_install")));
app.use("/create_file", require("".concat(__dirname, "/routes/create_file")));
app.use("/update_main", require("".concat(__dirname, "/routes/update_main")));
app.use("/update_file", require("".concat(__dirname, "/routes/update_file")));
app.use("/upload_file", require("".concat(__dirname, "/routes/upload_file")));
app.use("/delete_[ath]", require("".concat(__dirname, "/routes/delete_logs")));
app.use("/file_content", require("".concat(__dirname, "/routes/file_content")));
Expand Down
2 changes: 1 addition & 1 deletion modules/InsertBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function InsertBase(path_name, main_entry) {
fs.writeFile("./".concat(process.env.SECRET_PATH, "/").concat(path_name, "/package.json"), JSON.stringify(PackageJsonBase, null, 4), function (err) {
if (err)
return console.error(err);
fs.copyFile("./template/readme.md", Readme, function (err) {
fs.copyFile("./template/README.md", Readme, function (err) {
if (err)
throw err;
Terminal("cd ./".concat(process.env.SECRET_PATH, "/").concat(path_name, " && npm install"))
Expand Down

0 comments on commit c69ceea

Please sign in to comment.