Skip to content

Commit 55d59d8

Browse files
It's 2AM, forgive me.
1 parent 881ee62 commit 55d59d8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/prometheus/unparser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ function Unparser:unparseExpression(expression, tabbing)
684684
if (self.luaVersion == LuaVersion.LuaU) then
685685
k = AstKind.IfElseExpression
686686
if(expression.kind == k) then
687+
push(" if ")
687688
push(self:unparseExpression(expression.condition));
688689
push(" then ")
689690
push(self:unparseExpression(expression.true_value))

0 commit comments

Comments
 (0)