Skip to content

Commit

Permalink
fix dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaque committed Jun 9, 2023
1 parent b82936e commit cd24ad7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/cli.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.3.10"
"version": "0.3.11"
}
8 changes: 4 additions & 4 deletions cli/cmds/check/cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ export async function checkRulesAgainstDiff(props: {
frontmatter.parse(file) as any;

for await (const change of getChangesAsFiles(props.diff)) {
// // Don't include rules in rules
// if (allRuleEntries.map((r) => r.path).includes(change.file)) {
// continue;
// }
// Don't include rules in rules
if (allRuleEntries.map((r) => r.path).includes(change.file)) {
continue;
}

if (result.data?.include) {
const include = result.data.include;
Expand Down

0 comments on commit cd24ad7

Please sign in to comment.