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

Segfault if version missing #1148

Closed
rangerjo opened this issue May 2, 2023 · 1 comment · Fixed by #1149
Closed

Segfault if version missing #1148

rangerjo opened this issue May 2, 2023 · 1 comment · Fixed by #1149

Comments

@rangerjo
Copy link

rangerjo commented May 2, 2023

Task version: v3.24.0 (h1:0DKsGTmqYbEaACffm9H2BOm8pTcuSnb5SRUl7TCilQ4=)

If the version: '3' line is missing, go-task runs into a segfault.

Follow these steps to reproduce:

  1. go-task --init
  2. Open Taskfile.yml and comment version: '3'.
  3. Run go-task
  4. Instead of a descriptive error message a segmentation violation occurs.
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label May 2, 2023
@pd93 pd93 added type: bug Something not working as intended. and removed state: needs triage Waiting to be triaged by a maintainer. labels May 2, 2023
@pd93
Copy link
Member

pd93 commented May 2, 2023

@rangerjo Thanks for the report and repro. Thankfully a simple fix. See #1149

@pd93 pd93 closed this as completed in #1149 May 2, 2023
@pd93 pd93 removed the type: bug Something not working as intended. label Dec 16, 2024
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 a pull request may close this issue.

3 participants