Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of TaskfileInvalidError. #2098

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trulede
Copy link

@trulede trulede commented Mar 4, 2025

Change TaskfileInvalidError error formatting to match the prevent error message style.
Change name of StdinNode.

$ go run ./cmd/task -t help.go
task: Taskfile "help.go" is not valid (failed parsing). yaml: line 32: mapping values are not allowed in this context exit status 109

fixes #2067

Change TaskfileInvalidError error formatting to match the prevent error message style.
Change name of StdinNode.

$ go run ./cmd/task -t help.go
task: Taskfile "help.go" is not valid (failed parsing).
yaml: line 32: mapping values are not allowed in this context
exit status 109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error message if Taskfile provided via stdin is invalid. Also, skip if empty?
1 participant