Skip to content

Commit 5f31441

Browse files
Add semicolon to the value for applyTo
This fixes a Frontmatter issue whch causes rendering problems on Github See file https://github.com/project-codeguard/rules/blob/main/ide_rules/.github/instructions/codeguard-0-additional-cryptography.instructions.md
1 parent 55e3d82 commit 5f31441

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/formats/copilot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def generate(self, rule: ProcessedRule, globs: str) -> str:
4747
yaml_lines = []
4848

4949
# Add applyTo (Copilot's equivalent of globs)
50-
yaml_lines.append(f"applyTo: {globs}")
50+
yaml_lines.append(f"applyTo: '{globs}'")
5151

5252
# Add title
5353
title = self._format_yaml_field("title", rule.description)

0 commit comments

Comments
 (0)