Skip to content

Commit

Permalink
Update CreateController.js
Browse files Browse the repository at this point in the history
fix console script
  • Loading branch information
max36895 committed Jul 2, 2023
1 parent 390a9e6 commit 7af61e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/controllers/CreateController.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class CreateController {
let path = '';
paths.forEach((dir) => {
path += `${dir}/`;
if (dir !== './' && p !== '../') {
if (dir !== './' && path !== '../') {
if (!utils.is_dir(path)) {
fs.mkdirSync(path);
}
Expand Down

0 comments on commit 7af61e8

Please sign in to comment.