forked from rosa/hakurei
internal/rosa: populate opts of cloned S
This was missed when migrating opts into S. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -218,7 +218,7 @@ type S struct {
|
||||
|
||||
// Clone returns a copy of s.
|
||||
func (s *S) Clone() *S {
|
||||
v := S{arch: s.arch}
|
||||
v := S{arch: s.arch, opts: s.opts}
|
||||
s.artifacts.Range(func(key, value any) bool {
|
||||
v.artifacts.Store(key, value)
|
||||
v.artifactCount.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user