Skip to content

Commit 5b32743

Browse files
committed
chore: direcory creation
1 parent bd1f0da commit 5b32743

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • internal/core/services/registry

internal/core/services/registry/oci.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ func (c *OciClient) Pull(dir string, artifact string) error {
7979
return err
8080
}
8181

82+
err = os.MkdirAll(dir, 0755)
83+
if err != nil {
84+
return fmt.Errorf("failed to create directory: %w", err)
85+
}
86+
8287
fs, err := file.New(filepath.Join(dir))
8388

8489
if err != nil {

0 commit comments

Comments
 (0)