Skip to content

Commit a8f5758

Browse files
committed
fix(envscan): error message on no stderr output
1 parent 2858f94 commit a8f5758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envinspection/inspection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func inspectInstalledSoftware(ctx context.Context, module *model.Module) {
7676
}
7777
scanerr.Add(ctx, scanerr.Param{
7878
Kind: "env_inspection_error",
79-
Content: string(pError.Stderr),
79+
Content: stderrText,
8080
})
8181
continue
8282
}

0 commit comments

Comments
 (0)