Skip to content

Commit

Permalink
Fix build when using import_name different than namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Jul 5, 2022
1 parent 9911944 commit a1d8c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/arkana/templates/arkana.swift.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public enum <%= @namespace %> {
}
public extension <%= @namespace %> {
struct Global: <%= @import_name %>GlobalProtocol {
struct Global: <%= @namespace %>GlobalProtocol {
public init() {}
<% for secret in @global_secrets %>
Expand All @@ -35,7 +35,7 @@ public extension <%= @namespace %> {
<% for environment in @environments %>
public extension <%= @namespace %> {
struct <%= environment %>: <%= @import_name %>EnvironmentProtocol {
struct <%= environment %>: <%= @namespace %>EnvironmentProtocol {
public init() {}
<% for secret in environment_protocol_secrets(environment) %>
Expand Down

0 comments on commit a1d8c0e

Please sign in to comment.