-
|
Here's my justife: build *env:
if env == 'prod' { "echo 'hello'" }
test *path: (build 'not-prod')
go test {{ if path != '' { './...' } else { path } }}I'm getting this error: Why does this error mean? |
Beta Was this translation helpful? Give feedback.
Answered by
casey
Jun 24, 2025
Replies: 1 comment 1 reply
-
|
By default, recipe lines are executed by |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
casey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, recipe lines are executed by
sh, notjust.if … == … { … }isjustsyntax, so it won't work withsh.