Skip to content

Conversation

@a4averma
Copy link

@a4averma a4averma commented Oct 26, 2025

This pull request refactors the way directory paths are determined and simplifies the return values of several utility functions in index.js. The main focus is on improving cross-platform compatibility and streamlining function outputs.

Path resolution improvements:

  • Updated the logic for determining __dirname and COMPONENTS_DIR to be cross-platform compatible, especially for Windows environments, by handling leading slashes in file paths. (index.js)

Removed Duplicate Function return value:

Tested this PR on Windows, and it works. I don't have access to macOS and Linux for testing.

@a4averma a4averma changed the title fix: path for windows, double returns Fix: Path for windows (cross-platform), remove duplicate returns Oct 26, 2025
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.

1 participant