Skip to content

Commit 977d353

Browse files
slewiskellymyitcv
authored andcommitted
pkg/tool/cli: Fix Ask task
At the moment the task is not being resolved as the `kind` field is used to resolve legacy kinds. It is the only task that has only this field, and not an `$id` field. Signed-off-by: Scott Lewis-Kelly <slewiskelly@slewiskel.ly> Change-Id: I42d7d0676dbbd0544a8356da3cb34a11642b1dbd Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/532738 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Paul Jolly <paul@myitcv.io>
1 parent 24c9117 commit 977d353

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/tool/cli/cli.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Print: {
3030
// repsonse: bool
3131
// })
3232
Ask: {
33-
kind: "tool/cli.Ask"
33+
$id: "tool/cli.Ask"
3434

3535
// prompt sends this message to the output.
3636
prompt: string

pkg/tool/cli/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/tool/cli/pkg.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)