Skip to content

Commit

Permalink
fixed (elastic#20269)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Jul 28, 2020
1 parent ae46fa5 commit 8b71212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/mage/dmgbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (b *dmgBuilder) buildBeatPkg() error {
target := filepath.Join(beatPkgRoot, f.Target)
if err := Copy(f.Source, target); err != nil {
if f.SkipOnMissing && errors.Is(err, os.ErrNotExist) {
return nil
continue
}
return err
}
Expand Down

0 comments on commit 8b71212

Please sign in to comment.