Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed May 18, 2024
1 parent 71d4fc6 commit e738719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/tools/suppressions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getUsage(): string {

export interface Suppression {
tool: string;
// Output only includes "paths". If specified, "path" takes precedence over the "paths" list.
// Output only includes "paths". For input, if "path" is defined, it takes precedence over "paths".
paths: string[];
reason: string;
}
Expand All @@ -43,7 +43,7 @@ const suppressionSchema = z.array(
.transform((s) => {
let paths: string[] = Array.from(s.paths || []);
if (s.path) {
// Single "path" takes precedence over "paths" list
// If defined, "path" takes precedence over "paths"
paths.unshift(s.path);
}
return {
Expand Down

0 comments on commit e738719

Please sign in to comment.