Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

fix(context): Use SplitN to split CLI variable specifications #144

Merged
merged 1 commit into from
Jun 21, 2018

Conversation

tazjin
Copy link
Owner

@tazjin tazjin commented Jun 21, 2018

In some cases the value of a variable may contain an equals sign,
which would not work in the previous version.

This uses SplitN to split the variable specifier into a
pre-determined number (2) of sub-slices. Further =-symbols will then
be included in the second substring.

In some cases the value of a variable may contain an equals sign,
which would not work in the previous version.

This uses `SplitN` to split the variable specifier into a
pre-determined number (2) of sub-slices. Further `=`-symbols will then
be included in the second substring.
@tazjin tazjin added the bug label Jun 21, 2018
@tazjin tazjin merged commit 92c5c84 into master Jun 21, 2018
@tazjin tazjin deleted the fix/split-n branch June 21, 2018 12:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant