NREL / OpenStudio-measure-tester-gem

Other
3 stars 0 forks source link

Rubocop double counts issues if they share a common substring in directory #75

Closed jmarrec closed 4 months ago

jmarrec commented 4 months ago

If you have two measures names

my_measure
my_measure_mod

and my_measure_mod has rubocop issues, they'll be double counted as part of my_measure too, because of this naive check here

https://github.com/NREL/OpenStudio-measure-tester-gem/blob/14659ef904019789f651a890bc56d2324d725805/lib/openstudio_measure_tester/rubocop_result.rb#L93