Skip to content

Commit

Permalink
fix: type error when no static accessors exist
Browse files Browse the repository at this point in the history
  • Loading branch information
kimburgess committed Jan 28, 2021
1 parent a88dde8 commit dc5691f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secrets-env.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module ENV

macro finished
{% if ACCESSED.empty? %}
private STATIC_ACCESSED = Tuple.new
private STATIC_ACCESSED = StaticArray(String, 0).new ""
{% else %}
private STATIC_ACCESSED = Tuple.new(
{% for key in ACCESSED %}
Expand Down

0 comments on commit dc5691f

Please sign in to comment.