diff --git a/lib/export/export_supporters.rb b/lib/export/export_supporters.rb index 8c7c4991..51e4a4cb 100644 --- a/lib/export/export_supporters.rb +++ b/lib/export/export_supporters.rb @@ -31,8 +31,7 @@ module ExportSupporters params = JSON.parse(params, object_class: HashWithIndifferentAccess) # verify that it's also a hash since we can't do that at once - ParamValidation.new({ params: params }, - params: { is_hash: true }) + ParamValidation.new({ params: params }, params: { is_hash: true }) begin export = Export.find(export_id) rescue ActiveRecord::RecordNotFound diff --git a/spec/support/test_chunked_uploader.rb b/spec/support/test_chunked_uploader.rb old mode 100644 new mode 100755 index e09cc6dd..227a5b79 --- a/spec/support/test_chunked_uploader.rb +++ b/spec/support/test_chunked_uploader.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later class TestChunkedUploader TEST_ERROR_MESSAGE = 'test exception thrown' @@ -13,7 +11,7 @@ class TestChunkedUploader @@output end - ## use this to throw an exception instead of finishing + # use this to throw an exception instead of finishing def self.raise_error @@raise_error = true end