Skip to content

Commit 30a6eb7

Browse files
dflemstrfrankfarzan
authored andcommitted
Remove unnecessary guard when emitting results
1 parent 1a9800c commit 30a6eb7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ts/demo-functions/src/kubeval.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export async function kubeval(configs: Configs): Promise<void> {
5151
);
5252
}
5353

54-
if (results.length > 0) {
55-
configs.addResults(...results);
56-
}
54+
configs.addResults(...results);
5755
}
5856

5957
async function runKubeval(

0 commit comments

Comments
 (0)