We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88dba3 commit c84074dCopy full SHA for c84074d
src/kube-scanner/image-scanner.ts
@@ -24,12 +24,8 @@ function getImageTag(imageWithTag: string): string {
24
}
25
26
function constructStaticAnalysisOptions(
27
- fileSystemPath: string | undefined,
+ fileSystemPath: string,
28
): { staticAnalysisOptions: IStaticAnalysisOptions } {
29
- if (!fileSystemPath) {
30
- throw new Error('Missing path for image for static analysis');
31
- }
32
-
33
return {
34
staticAnalysisOptions: {
35
imagePath: fileSystemPath,
0 commit comments