Skip to content

Commit

Permalink
fix(quality): strip the cov file (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski authored Dec 5, 2023
1 parent e8ef37a commit ca3a4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quality/go/cov
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

file = '.go.cov'
exclude = File.exist?(file) ? File.read(file) : '.pb|main.go'
exclude = File.exist?(file) ? File.read(file).strip : '.pb|main.go'

Dir['test/reports/*.cov'].each do |f|
nf = "#{File.dirname(f)}/#{File.basename(f, File.extname(f))}-new#{File.extname(f)}"
Expand Down

0 comments on commit ca3a4ee

Please sign in to comment.