Skip to content

Commit

Permalink
appmodel: fix oneliner steps being ignored
Browse files Browse the repository at this point in the history
For example,
  step [sname] { $MESSAGE += " bello"; };

generated:
  # step: sname         $MESSAGE += " bello";

Signed-off-by: László Várady <[email protected]>
Signed-off-by: shifter <[email protected]>
  • Loading branch information
MrAnno committed Mar 3, 2025
1 parent eb514ac commit f40544b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/appmodel/app-transform-generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ _generate_steps(AppTransformGenerator *self, GList *steps)
for (GList *l = steps; l; l = l->next)
{
TransformStep *step = l->data;
g_string_append_printf(self->block, " # step: %s", step->name);
g_string_append_printf(self->block, " # step: %s\n", step->name);
g_string_append_printf(self->block, " %s\n", step->expr);
}
}
Expand Down

0 comments on commit f40544b

Please sign in to comment.