Skip to content

Commit

Permalink
Merge pull request #485 from SquirrelCorporation/chore-default-exclus…
Browse files Browse the repository at this point in the history
…ion-list

[CHORE] Set default directory exclusions for tags
  • Loading branch information
SquirrelDeveloper authored Nov 15, 2024
2 parents 0c3906f + c96b995 commit 17b1acb
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ const DirectoryExclusionForm: React.FC<DirectoryExclusionFormProps> = (
props,
) => {
const [tags, setTags] = useState(
props.selectedRecord?.directoryExclusionList || [],
props.selectedRecord?.directoryExclusionList || [
'production',
'staging',
'group_vars',
'host_vars',
'library',
'module_utils',
'filters_plugin',
'roles',
'inventories',
],
);

const validateTag = (tag: string): boolean => {
Expand Down

0 comments on commit 17b1acb

Please sign in to comment.