From cb98a4991792bcd8f017a350164bc75e8322010d Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 29 Dec 2019 14:06:28 +0100 Subject: [PATCH] Create new Checksum struct for Artifact Refers to #28 --- pkg/compiler/artifact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compiler/artifact.go b/pkg/compiler/artifact.go index 6ccc5043..c9d40731 100644 --- a/pkg/compiler/artifact.go +++ b/pkg/compiler/artifact.go @@ -60,7 +60,7 @@ type PackageArtifact struct { } func NewPackageArtifact(path string) Artifact { - return &PackageArtifact{Path: path, Dependencies: []*PackageArtifact{}} + return &PackageArtifact{Path: path, Dependencies: []*PackageArtifact{}, Checksums: Checksums{}} } func NewPackageArtifactFromYaml(data []byte) (Artifact, error) {