From d7d39cef0ea4cd645396e2dcd17e132dcab247ce Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Mon, 22 Apr 2024 16:50:39 -0400 Subject: [PATCH] :bug: fix detection of binary analysis Signed-off-by: Pranav Gaikwad --- cmd/analyze.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/analyze.go b/cmd/analyze.go index aa8ed24..85b6e16 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -432,6 +432,10 @@ func (a *analyzeCommand) getConfigVolumes(components []model.Component) (map[str } } } + // TODO (pgaikwad): binaries don't work with alizer right now, we need to revisit this + if !foundJava && a.isFileInput { + foundJava = true + } otherProvsMountPath := SourceMountPath // when input is a file, it means it's probably a binary