chore: point stale spec-api comments at pkg/spec

This commit is contained in:
pj committed 2026-08-15 13:27:44 +05:30
1 parent 1f9af6e8e5
commit 56fe509150
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ internal/driver/ioscompanion/companionassets/assets/companion-*.tar.gz
# before `go build -tags withcompanion`. Never commit: it's ~5 MB. # before `go build -tags withcompanion`. Never commit: it's ~5 MB.
internal/driver/ioscompanion/runnerassets/assets/runner-*.tar.gz internal/driver/ioscompanion/runnerassets/assets/runner-*.tar.gz
# spec-api compiled output # spec package compiled output
pkg/spec/dist/ pkg/spec/dist/
# goreleaser local output # goreleaser local output
+1 -1
View File
@@ -26,7 +26,7 @@ type stateInput struct {
} }
// stateObject builds the JS-side `state` object matching the State type from // stateObject builds the JS-side `state` object matching the State type from
// pkg/spec-api. Fields beyond snapshots/ax are included when the caller // pkg/spec. Fields beyond snapshots/ax are included when the caller
// populated them on stateInput. // populated them on stateInput.
func stateObject(runtime *goja.Runtime, input stateInput) (*goja.Object, error) { func stateObject(runtime *goja.Runtime, input stateInput) (*goja.Object, error) {
state := runtime.NewObject() state := runtime.NewObject()