Skip to content

Commit

Permalink
Improved the warning text when an added local module contains a polic…
Browse files Browse the repository at this point in the history
…y file with an autorun tag

Ticket: ENT-10229
Signed-off-by: jakub-nt <[email protected]>
  • Loading branch information
jakub-nt committed Jul 30, 2024
1 parent 9dab8ac commit f5ba17c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cfbs/cfbs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,8 @@ def _handle_local_module(self, module):
for file in policy_files:
if _has_autorun_tag(file):
log.warning(
"Found bundle tagged with autorun in local policy file '%s': "
% file
+ "Note that the autorun tag is ignored when adding local policy files or subdirectories."
"Found autorun tag in '%s', " % file
+ "but it looks like the autorun feature is not enabled, consider enabling it via 'cfbs add autorun' or a custom './def.json' file."
)
# TODO: Support adding local modules with autorun tag

Expand Down

0 comments on commit f5ba17c

Please sign in to comment.