Skip to content

Commit

Permalink
Handle size limit result correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ssciolla committed Apr 12, 2024
1 parent daea0f0 commit 5b8c3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def self.create_config(data)
dry_run: data.get_value(key: "SETTINGS_DRY_RUN", checks: [BooleanCheck.new]) == "true",
object_size_limit: data.get_value(
key: "SETTINGS_OBJECT_SIZE_LIMIT", checks: [IntegerCheck.new], optional: true
).to_i
).tap { |v| !v.nil? && v.to_i }
),
repository: RepositoryConfig.new(
name: data.get_value(key: "REPOSITORY_NAME"),
Expand Down

0 comments on commit 5b8c3a0

Please sign in to comment.