Remove unsafe call
This commit is contained in:
parent
6881b7c2f8
commit
d7804769af
@ -476,7 +476,16 @@ class Reporter
|
|||||||
def report(auto_update: false)
|
def report(auto_update: false)
|
||||||
return @report if @report
|
return @report if @report
|
||||||
|
|
||||||
@report = T.unsafe(Hash.new { |h, k| h[k] = [] })
|
@report = {
|
||||||
|
A: [],
|
||||||
|
AC: [],
|
||||||
|
D: [],
|
||||||
|
DC: [],
|
||||||
|
M: [],
|
||||||
|
MC: [],
|
||||||
|
R: T.let([], T::Array[[String, String]]),
|
||||||
|
RC: T.let([], T::Array[[String, String]]),
|
||||||
|
}
|
||||||
return @report unless updated?
|
return @report unless updated?
|
||||||
|
|
||||||
diff.each_line do |line|
|
diff.each_line do |line|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user