You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's probably best if we don't allow any command other than FROM, FROM DOCKERFILE or LOCALLY as the first thing being interpreted. Then we can display a meaningful error if the user forgets.
This is also relevant for the IF proposal (#779), where the user may be tempted to start off with an IF (but it doesn't work).
For this Earthfile:
Version:
earthly version v0.5.1 linux/amd64
The fix is easy: just add the missing FROM, but the error is very unintuitive.
Thanks! 😄
The text was updated successfully, but these errors were encountered: