Skip to content

Commit

Permalink
Matching conditional style
Browse files Browse the repository at this point in the history
  • Loading branch information
veden committed Jan 14, 2025
1 parent 742468d commit ff8ec72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/generateCRDs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface K8sList {
}

function isK8sList(o: any | K8sList): o is K8sList {
return o && typeof(o) === "object" && "List" === o["kind"];
return o && typeof(o) === "object" && o["kind"] === "List";
}

interface K8sKonfig {
Expand Down

0 comments on commit ff8ec72

Please sign in to comment.