Skip to content

Commit 7b27197

Browse files
authored
Merge pull request #120 from swiftlang/shahmishal-patch-1
Update check-license-header.sh to include cpp file extension
2 parents 7e71d77 + 9db4c68 commit 7b27197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/scripts/check-license-header.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ while IFS= read -r file_path; do
6666
bazelrc) comment_marker='##' ;;
6767
bzl) comment_marker='##' ;;
6868
c) comment_marker='//' ;;
69+
cpp) comment_marker='//' ;;
6970
cmake) comment_marker='##' ;;
7071
code-workspace) continue ;; # VS Code workspaces are JSON and shouldn't contain comments
7172
CODEOWNERS) continue ;; # Doesn't need a license header

0 commit comments

Comments
 (0)