Skip to content

Commit

Permalink
Add .git to default exclusions (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Nov 9, 2023
1 parent c0822e1 commit 278796f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ConfigVerificationUtils {
public static final String EXCLUSIONS_SUFFIX = "*";
public static String EXCLUSIONS_REGEX_PARSER = "^\\*\\*/\\*\\{([^{}]+)}\\*$";
public static Pattern EXCLUSIONS_REGEX_PATTERN = Pattern.compile(EXCLUSIONS_REGEX_PARSER);
public static final String DEFAULT_EXCLUSIONS = EXCLUSIONS_PREFIX + "{.idea,test,node_modules}" + EXCLUSIONS_SUFFIX;
public static final String DEFAULT_EXCLUSIONS = EXCLUSIONS_PREFIX + "{.git,.idea,test,node_modules}" + EXCLUSIONS_SUFFIX;

/**
* Validate config project, watches and excluded paths before saving.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
</grid>
</constraints>
<properties>
<text value="&quot;**/*{.idea,test,node_modules}*&quot;"/>
<text value="&quot;**/*{.git,.idea,test,node_modules}*&quot;"/>
<toolTipText value="Pattern of project paths to exclude from Xray scanning for npm and Go projects."/>
</properties>
</component>
Expand Down

0 comments on commit 278796f

Please sign in to comment.