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

fix: parse strings prefixed with "#" in config save --set ... #898

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

regisb
Copy link
Contributor

@regisb regisb commented Sep 6, 2023

Pound keys were interpreted as comments. This is annoying when we want to parse html color codes, such as in:

$ tutor config save --set "INDIGO_PRIMARY_COLOR=#225522"
$ tutor config printvalue INDIGO_PRIMARY_COLOR
null

Close #866.

Pound keys were interpreted as comments. This is annoying when we want
to parse html color codes, such as in:

    $ tutor config save --set "INDIGO_PRIMARY_COLOR=#225522"
    $ tutor config printvalue INDIGO_PRIMARY_COLOR
    null

Close #866.
@regisb regisb force-pushed the regisb/parse-pound-keys-in-settings branch from 50c4a65 to 3ec2770 Compare September 6, 2023 08:59
@regisb regisb merged commit 51928b0 into master Sep 6, 2023
1 check passed
@regisb
Copy link
Contributor Author

regisb commented Sep 6, 2023

Taking the liberty to merge without review, as this is such a small change.

@regisb regisb deleted the regisb/parse-pound-keys-in-settings branch September 6, 2023 10:06
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.

Pound signs in string settings are sometimes interpreted as a comment prefix
1 participant