Skip to content

Commit

Permalink
Rubocop: ignore use of eval in script
Browse files Browse the repository at this point in the history
  • Loading branch information
kspurgin committed Aug 21, 2024
1 parent dcb4533 commit ec58bc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/translate_to_cspace_csv.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

# This script is used in very constrained circumstances where no one is going to
# use `eval` maliciously
# rubocop:disable Security/Eval
require "csv"
require "optparse"

Expand Down Expand Up @@ -107,3 +110,4 @@ def create_row(translation:, translated: {})
puts " #{key}: #{value.inspect}"
end
end
# rubocop:enable Security/Eval

0 comments on commit ec58bc7

Please sign in to comment.