Skip to content

Commit

Permalink
hof/runtime: remove break stmt to support multiple @userFiles in one …
Browse files Browse the repository at this point in the history
…struct
  • Loading branch information
Tony Worm committed May 4, 2024
1 parent 5fe6171 commit 99a4d84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (R *Runtime) prepPlacedUserfiles() error {
return err
}

break
// break
}
}
}
Expand Down
1 change: 1 addition & 0 deletions test/userfiles/main.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ hello: "world"

files: {
@userfiles(content,trim=content)
@userfiles(other,trim=other)
}
1 change: 1 addition & 0 deletions test/userfiles/other/baz.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bleep bloop blop

0 comments on commit 99a4d84

Please sign in to comment.