Skip to content

Commit 23b5a34

Browse files
committed
Detect include changes even on include with quotes
now it detects both: #include <foo.h> and #include "bar.h"
1 parent dcaf05a commit 23b5a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: handler/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func (handler *InoHandler) CheckCppIncludesChanges() {
656656

657657
includesCanary := ""
658658
for _, line := range strings.Split(handler.sketchMapper.CppText.Text, "\n") {
659-
if strings.Contains(line, "#include <") {
659+
if strings.Contains(line, "#include ") {
660660
includesCanary += line
661661
}
662662
}

0 commit comments

Comments
 (0)