Skip to content

Commit 3d9eca9

Browse files
authored
improve comment
1 parent a61fd2f commit 3d9eca9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rulesets/src/spectral/functions/Extensions/mutability-with-read-only.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const mutabilityWithReadOnly = (prop: any, _opts: any, ctx: any) => {
44
if (prop === null || typeof prop !== "object") {
55
return [];
66
}
7-
// The given clause filters for readOnly !== undefined and x-ms-mutability !== undefined
7+
// The "given" clause already filters for "readOnly !== undefined" and "x-ms-mutability !== undefined"
88
if (prop["x-ms-mutability"].length === 0) {
99
return [];
1010
}

0 commit comments

Comments
 (0)