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

Marks .bundle/ files out of project #420

Merged
merged 2 commits into from
Jan 26, 2018
Merged

Conversation

Cawllec
Copy link
Contributor

@Cawllec Cawllec commented Jan 26, 2018

Marks any files in .bundle/ as out of project along with vendor/ files.

@Cawllec Cawllec requested a review from kattrali January 26, 2018 15:01
@@ -8,7 +8,7 @@ class Stacktrace
JAVA_BACKTRACE_REGEX = /^(.*)\((.*)(?::([0-9]+))?\)$/

# Path to vendored code. Used to mark file paths as out of project.
VENDOR_PATH = 'vendor/'
VENDOR_PATH = /^(vendor\/|.bundle\/)/
Copy link
Contributor

Choose a reason for hiding this comment

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

/^.bundle/ will match "abundle" or "5bundle" as full stop is a wildcard expression for any character. Should be escaped with a backslash.

@kattrali kattrali merged commit 44c6ab1 into master Jan 26, 2018
@kattrali kattrali deleted the cawllec/bundle_out_of_project branch January 26, 2018 18:10
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

2 participants