Skip to content

Commit 4123181

Browse files
committed
pack script defined in metadata
Signed-off-by: Pablo Chacin <[email protected]>
1 parent 5db403a commit 4123181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archive.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func loadMetadata(dir string, opts *Options) error {
4040
opts.Env.Ignore = true
4141
}
4242

43-
contents, err := os.ReadFile(filepath.Join(filepath.Clean(dir), "data"))
43+
contents, err := os.ReadFile(opts.Script.Name)
4444
if err != nil {
4545
return err
4646
}

0 commit comments

Comments
 (0)