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

Rework line replace functionality to support empty strings #7

Merged
merged 4 commits into from Oct 14, 2018

Conversation

cball
Copy link
Contributor

@cball cball commented Aug 1, 2018

Prior to this PR, it was not possible to use this plugin to update an empty string value. We're using this on CI to set an applicationIdSuffix, which is blank by default.

Here are screenshots of a file updating a value with an empty string and a string with some characters in it in this branch:

Before running lane:
build gradle mobile 2018-08-01 09-26-45

After running lane:
image

My hope was to also solve the case of updating integers, but the regex still needs a bit of tweaking for that to work. I have a test for this in the PR, but it is commented out.

@cball
Copy link
Contributor Author

cball commented Aug 6, 2018

@otkmnb2783 did you have any thoughts on this PR?

@otkmnb2783
Copy link
Owner

@cball Thank you for the report.
I'm solved the case of updating integers.

@sonlexqt
Copy link

sonlexqt commented Oct 2, 2018

@otkmnb2783 should this branch be merged anytime soon ?

@otkmnb2783 otkmnb2783 merged commit ced528b into otkmnb2783:master Oct 14, 2018
@cball cball deleted the support-blank-id-suffix branch November 9, 2018 01:35
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.

None yet

3 participants