Skip to content

fix: export RESOURCES_FOLDER from Paths module#332

Open
machiabeli wants to merge 1 commit intoblackboardsh:mainfrom
machiabeli:fix/export-resources-folder
Open

fix: export RESOURCES_FOLDER from Paths module#332
machiabeli wants to merge 1 commit intoblackboardsh:mainfrom
machiabeli:fix/export-resources-folder

Conversation

@machiabeli
Copy link
Copy Markdown

�[38;5;238m─────┬──────────────────────────────────────────────────────────────────────────�[0m
�[38;5;238m 1�[0m �[38;5;238m│�[0m �[38;2;255;255;255m## Summary�[0m
�[38;5;238m 2�[0m �[38;5;238m│�[0m
�[38;5;238m 3�[0m �[38;5;238m│�[0m �[38;2;255;255;255m- Adds export to RESOURCES_FOLDER in package/src/bun/core/Paths.ts so it's accessible via Electrobun.PATHS.RESOURCES_FOLDER�[0m
�[38;5;238m 4�[0m �[38;5;238m│�[0m �[38;2;255;255;255m- The constant was defined but not exported, making it undefined when accessed through the existing import * re-export in index.ts�[0m
�[38;5;238m 5�[0m �[38;5;238m│�[0m �[38;2;255;255;255m- One-word change: constexport const�[0m
�[38;5;238m 6�[0m �[38;5;238m│�[0m
�[38;5;238m 7�[0m �[38;5;238m│�[0m �[38;2;255;255;255mFixes #321�[0m
�[38;5;238m─────┴──────────────────────────────────────────────────────────────────────────�[0m

…──────────────────────�[0m

�[38;5;238m   1�[0m �[38;5;238m│�[0m �[38;2;255;255;255mfix: export RESOURCES_FOLDER constant from Paths module�[0m
�[38;5;238m   2�[0m �[38;5;238m│�[0m
�[38;5;238m   3�[0m �[38;5;238m│�[0m �[38;2;255;255;255mRESOURCES_FOLDER is defined in Paths.ts but not exported, making it�[0m
�[38;5;238m   4�[0m �[38;5;238m│�[0m �[38;2;255;255;255minaccessible via Electrobun.PATHS.RESOURCES_FOLDER despite being�[0m
�[38;5;238m   5�[0m �[38;5;238m│�[0m �[38;2;255;255;255mdocumented. Adding the export keyword so the existing import * in�[0m
�[38;5;238m   6�[0m �[38;5;238m│�[0m �[38;2;255;255;255mindex.ts picks it up automatically.�[0m
�[38;5;238m   7�[0m �[38;5;238m│�[0m
�[38;5;238m   8�[0m �[38;5;238m│�[0m �[38;2;255;255;255mFixes blackboardsh#321�[0m
�[38;5;238m─────┴──────────────────────────────────────────────────────────────────────────�[0m
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