Skip to content

Commit

Permalink
pkg/tool/cli: Fix Ask task
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
slewiskelly authored and myitcv committed Feb 18, 2022
1 parent 24c9117 commit 977d353
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/tool/cli/cli.cue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Print: {
// repsonse: bool
// })
Ask: {
kind: "tool/cli.Ask"
$id: "tool/cli.Ask"

// prompt sends this message to the output.
prompt: string
Expand Down
2 changes: 1 addition & 1 deletion pkg/tool/cli/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/tool/cli/pkg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 977d353

Please sign in to comment.