robertwb commented on a change in pull request #11489:
URL: https://github.com/apache/beam/pull/11489#discussion_r413151601



##########
File path: sdks/go/pkg/beam/artifact/materialize.go
##########
@@ -128,6 +128,11 @@ func (a artifact) retrieve(ctx context.Context, dest 
string) error {
                return errors.Wrapf(err, "failed to stat %v", filename)
        }
 
+       err = os.MkdirAll(filepath.Dir(filename), os.ModePerm)
+       if err != nil {

Review comment:
       Might as well do it the best way. Fixed. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to