You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs _first() {
image "busybox"
run "echo first" with option {
mount scratch localCwd as first
}
}
fs _second() {
_first
run "echo second" option {
mount first localCwd as second
}
}
Note run "echo second" option should be written as run "echo second" with option but I would not expect this panic from the source.
go run ./cmd/hlb run --log-output plain -t second causes:
error: cannot bind, no closure in option blocks
parse.hlb:11:24:
│
10 │ run "echo second" option {
│ ------
│ option blocks have no closures outside of "with option {...}"
11 │ mount first localCwd as second
│ ^^
│ no closure for binding
build.hlb
file:Note
run "echo second" option
should be written asrun "echo second" with option
but I would not expect this panic from the source.go run ./cmd/hlb run --log-output plain -t second
causes:The text was updated successfully, but these errors were encountered: