Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update README.md and fix bug in fallback config lookup #52

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

friedbrice
Copy link
Contributor

No description provided.

Comment on lines -62 to +65
"description": "If `true`, Alloglot will log more output."
"description": "If `true`, Alloglot will log more output.",
"default": null
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue preventing the fallback from being used is that VS Code defaults boolean config options to false if the package.json doesn't specify a different default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My config-loading logic saw that user-level config "existed" (incorrectly) and so ignored the fallback.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:argh:

@friedbrice friedbrice merged commit d1308af into main Mar 13, 2024
1 check passed
@friedbrice friedbrice deleted the daniel/update-readme-and-fix-fallback branch March 13, 2024 17:19
Copy link

A PR to release these changes has been created, bumping the version from 3.0.1 to 3.0.2.

}

function timestamp(): string {
return new Date().toJSON().split('T')[1].replace(/\.\d*Z/, ' UTC')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dates in vanilla JS, oh what fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants