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

map to string notation with variables isn't handled properly #42

Closed
bj0 opened this issue Apr 8, 2020 · 2 comments
Closed

map to string notation with variables isn't handled properly #42

bj0 opened this issue Apr 8, 2020 · 2 comments
Assignees

Comments

@bj0
Copy link

bj0 commented Apr 8, 2020

If you try to convert a map notation that uses a variable (not a variable in a string) to string notation, it does not treat it as a variable. This results in the following:

testImplementation group: 'org.mockito', name: 'mockito-core', version: mockitoVersion

becoming

testImplementation 'org.mockito:mockito-core:mockitoVersion'

Which requries fixing the variable reference as well as replacing single quotes with double quotes.

@platan
Copy link
Owner

platan commented Apr 10, 2020

Thanks @bj0 for reporting this. This actually is a common use case, but I didn't test it. I will try to fix this in the next weeks.

@platan platan self-assigned this Apr 10, 2020
@platan
Copy link
Owner

platan commented Feb 12, 2021

@platan platan closed this as completed Feb 12, 2021
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

No branches or pull requests

2 participants