Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(script): prevent create-tool from generating ./home paths#372

Open
nvd264 wants to merge 1 commit into
iib0011:mainfrom
nvd264:fix/create-tool-path-handling
Open

fix(script): prevent create-tool from generating ./home paths#372
nvd264 wants to merge 1 commit into
iib0011:mainfrom
nvd264:fix/create-tool-path-handling

Conversation

@nvd264
Copy link
Copy Markdown

@nvd264 nvd264 commented May 12, 2026

Fixes #235

Summary

  • Normalize nested tool folder input before creating paths
  • Create generated tool folders under the tools root
  • Prevent the script from creating incorrect ./home/... paths

Verification

  • Ran npm run script:create:tool split image/generic
  • Confirmed src/pages/tools/image/generic/split was created
  • Confirmed no unintended ./home directory was created
  • Ran npm run typecheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Unexpected behaviour] create-tool.mjs creates folder in incorrect location

1 participant