Skip to content

Commit

Permalink
добавил accessModifier для сгенерированных edition
Browse files Browse the repository at this point in the history
  • Loading branch information
i.mnazhdin committed Feb 16, 2024
1 parent 9adae98 commit 2e73208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Templates/ExternalEvent.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import Analytics
}
{% endif %}

var edition: [AnalyticsEventEdition] {
{{ accessModifier }} var edition: [AnalyticsEventEdition] {
{% if edition %}
{% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %}
[{{ enumValueEdition|join:", " }}]
Expand Down
2 changes: 1 addition & 1 deletion Templates/InternalEvent.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Analytics
*/
{{ accessModifier }} struct {{ structName }}: {{ protocol }} {

var edition: [AnalyticsEventEdition] {
{{ accessModifier }} var edition: [AnalyticsEventEdition] {
{% if edition %}
{% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %}
[{{ enumValueEdition|join:", " }}]
Expand Down

0 comments on commit 2e73208

Please sign in to comment.