Skip to content

Conversation

@carabasdaniel
Copy link
Contributor

(maint) PDKSync - PDK Update
pdk version: 2.1.0

@carabasdaniel carabasdaniel requested a review from a team as a code owner June 7, 2021 10:18
Comment on lines +52 to +62
# Filter backtrace noise
backtrace_exclusion_patterns = [
%r{spec_helper},
%r{gems},
]

if c.respond_to?(:backtrace_exclusion_patterns)
c.backtrace_exclusion_patterns = backtrace_exclusion_patterns
elsif c.respond_to?(:backtrace_clean_patterns)
c.backtrace_clean_patterns = backtrace_exclusion_patterns
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be contributed to https://github.com/puppetlabs/puppetlabs_spec_helper?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ekohl,
For now we will keep these changes in the pdk-templates and if this works out nicely for the currently supported modules then we will probably port it to the puppetlabs_spec_helper and this change will be removed on a future pdk update.

@michaeltlombardi michaeltlombardi merged commit 686a147 into main Jun 7, 2021
@michaeltlombardi michaeltlombardi deleted the pdksync_pdkupdate branch June 7, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants