Skip to content

Fix checking if config file should be used.#107

Closed
haku wants to merge 1 commit intongocjohn:mainfrom
haku:fix-boolen-parsing
Closed

Fix checking if config file should be used.#107
haku wants to merge 1 commit intongocjohn:mainfrom
haku:fix-boolen-parsing

Conversation

@haku
Copy link
Copy Markdown

@haku haku commented Apr 2, 2026

JSON.parse("true") returns a boolean type not a string, so true === 'true' will always evaluate to false.

Found this issue while investigating: #98 (comment)

@ngocjohn ngocjohn closed this Apr 5, 2026
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.

2 participants