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

(RE-12690) Be more explicit about when to gsub #126

Conversation

mwaggett
Copy link
Contributor

This commit updates the regex we match against when adding [trusted=yes] to
debian repo files. Previously, we sometimes ended up with [trusted=yes]
getting added twice if the gsub was re-run, since we were only matching
against 'deb '. This change should ensure that this only ever gets added once.

This commit updates the regex we match against when adding `[trusted=yes]` to
debian repo files. Previously, we sometimes ended up with `[trusted=yes]`
getting added twice if the `gsub` was re-run, since we were only matching
against 'deb '. This change should ensure that this only ever gets added once.
@mwaggett mwaggett requested a review from a team November 25, 2019 22:48
@Magisus Magisus merged commit 44f32e4 into puppetlabs:master Nov 26, 2019
@mwaggett mwaggett deleted the ticket/master/re-12690-malformed-repo-transient branch November 26, 2019 00:52
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.

2 participants