Skip to content

Commit

Permalink
Added default value
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNano committed Jul 5, 2024
1 parent 03686da commit 168bf6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/arkana/models/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def initialize(yaml)
@kotlin_jvm_toolchain_version = yaml["kotlin_jvm_toolchain_version"] || 11
@is_kotlin_multiplatform_module = yaml["is_kotlin_multiplatform_module"]
@is_kotlin_multiplatform_module = false if @should_generate_gradle_build_file.nil?
@should_infer_types = yaml["should_infer_types"]
@should_infer_types = true if @should_infer_types.nil?
end
# rubocop:enable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity

Expand Down

0 comments on commit 168bf6b

Please sign in to comment.