Skip to content

Commit 3487cde

Browse files
committed
Fix filename
1 parent 39a2652 commit 3487cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cc/engine/scalastyle.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def run
1616
Dir.chdir(@directory) do
1717
next unless results
1818
results.xpath('//file').each do |file|
19-
path = file['name'].sub(/\A#{@directory}\//, '')
19+
path = file['name'].sub("/home/app/", "")
2020
file.xpath('//error').each do |lint|
2121
issue = {
2222
type: "issue",

0 commit comments

Comments
 (0)