Skip to content

Commit 5c76738

Browse files
committed
lint
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
1 parent 3a5b362 commit 5c76738

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/attestation/crafter/api/attestation/v1/crafting_state.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ func (m *Attestation_Material) GetEvaluableContent(value string) ([]byte, error)
9494
}
9595

9696
if artifact != nil {
97-
if m.InlineCas &&
98-
m.MaterialType != v1.CraftingSchema_Material_HELM_CHART {
97+
if m.InlineCas && m.MaterialType != v1.CraftingSchema_Material_HELM_CHART {
9998
rawMaterial = artifact.GetContent()
10099
} else if value == "" {
101100
return nil, errors.New("artifact path required")

0 commit comments

Comments
 (0)