Skip to content

Conversation

pyth0n1c
Copy link
Contributor

Fix bug where a detection that changed
would not be tested if it contained the
string "dist" in the name. This was due
to how we checked whether or not
modified content was in the appropriate
content folders like detections, macros,
and lookups or whether it was in a folder
like dist/ or app_template. The way this
checking is done is now improved so we
examine the paths using is_relative_to
instead of looking for a substring in the
path.

pyth0n1c added 2 commits July 10, 2024 14:23
would not be tested if it contained the
string "dist" in the name.  This was due
to how we checked whether or not
modified content was in the appropriate
content folders like detections, macros,
and lookups or whether it was in a folder
like dist/ or app_template.  The way this
checking is done is now improved so we
examine the paths using is_relative_to
instead of looking for a substring in the
path.
@patel-bhavin
Copy link
Contributor

Full path checking, FTW!

@patel-bhavin patel-bhavin merged commit d670f3e into main Jul 10, 2024
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