Skip to content

Commit 7ee1603

Browse files
don't use hash with indifferent access
1 parent 8e69c2d commit 7ee1603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/singed/cli.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def run
112112
end
113113

114114
# clean the report, similar to how Singed::Report does
115-
json = JSON.parse(filename.read).with_indifferent_access
115+
json = JSON.parse(filename.read)
116116
json['shared']['frames'].each do |frame|
117-
frame[:file] = Singed.filter_line(frame[:file])
117+
frame['file'] = Singed.filter_line(frame['file'])
118118
end
119119
filename.write(JSON.dump(json))
120120

0 commit comments

Comments
 (0)