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

[duplicate #140] Incompatible types for comparison (bool) #242

Closed
JulienBreux opened this issue Aug 26, 2019 · 2 comments
Closed

[duplicate #140] Incompatible types for comparison (bool) #242

JulienBreux opened this issue Aug 26, 2019 · 2 comments
Labels
state: duplicate Duplicates another issue.

Comments

@JulienBreux
Copy link

JulienBreux commented Aug 26, 2019

πŸ€“ Context

  • Task version: 2.6.0
  • OS: Mac OS, 10.14.6 (18G87)
  • Taskfile.yml
version: '2'

vars:
  BOOL_VAR: true

tasks:
  test:
    cmds:
      - echo "{{ if eq .BOOL_VAR true }}TRUE{{ end }}" 

❌ Error

template: :x:y: executing "" at <eq .BOOL_VAR true>: error calling eq: incompatible types for comparison

πŸ”— Maybe linked

@JulienBreux JulienBreux changed the title Incompatible types for comparison (boolean) Incompatible types for comparison (boolean) #bug Aug 26, 2019
@smyrman
Copy link
Contributor

smyrman commented Aug 26, 2019

I would say this is a duplicate of #140.

@JulienBreux
Copy link
Author

Okey, sorry @smyrman. 😊

@JulienBreux JulienBreux changed the title Incompatible types for comparison (boolean) #bug [duplicated #140] Incompatible types for comparison (boolean) Aug 26, 2019
@JulienBreux JulienBreux changed the title [duplicated #140] Incompatible types for comparison (boolean) [duplicate #140] Incompatible types for comparison (bool) Aug 26, 2019
@andreynering andreynering added the state: duplicate Duplicates another issue. label Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: duplicate Duplicates another issue.
Projects
None yet
Development

No branches or pull requests

3 participants