Fix inverted conditionals for version check
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
204b21f4fb
commit
ca342fd840
|
@ -775,7 +775,7 @@ module Action = struct
|
||||||
| "project_root" when syntax_version >= (1, 0) ->
|
| "project_root" when syntax_version >= (1, 0) ->
|
||||||
Some (path_exp (Scope.root scope))
|
Some (path_exp (Scope.root scope))
|
||||||
| "@" ->
|
| "@" ->
|
||||||
if syntax_version >= (1, 0) then
|
if syntax_version < (1, 0) then
|
||||||
targets loc var_name
|
targets loc var_name
|
||||||
else
|
else
|
||||||
Loc.fail loc (* variable substitution to avoid ugly escaping *)
|
Loc.fail loc (* variable substitution to avoid ugly escaping *)
|
||||||
|
|
Loading…
Reference in New Issue