Skip to content

Commit 65b0ce2

Browse files
committed
restrict rb/summary/lines-of-code to the source root
1 parent 7123415 commit 65b0ce2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/src/queries/summary/LinesOfCode.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
import ruby
1313

14-
select sum(File f | | f.getNumberOfLinesOfCode())
14+
select sum(File f | exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())

0 commit comments

Comments
 (0)