rogerluan / arkana

Store your keys and secrets away from your source code. Designed for Android and iOS projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't generate unnecessary extensions

dalewking opened this issue · comments

If you do not have any keys for global_secrets it still generates an unnecessary extension like:

public extension ArkanaKeys {
    struct Global: ArkanaKeysGlobalProtocol {
        public init() {}
    }
}

I presume like wise that if you had no environment_secrets It would also generate similar empty extensions.

You shouldn't generate these useless blocks of code if there are no keys

Hi @dalewking ! 👋

Good observation! Thanks for pointing it out!