From 1006af597c9a4feb9736138831bf1a80d5852289 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Tue, 24 Sep 2024 00:55:11 +0100 Subject: [PATCH] Added `.kts` file extension to license header checker --- .ci/license-header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/license-header.rb b/.ci/license-header.rb index faf59aa8c..db0ee9e06 100755 --- a/.ci/license-header.rb +++ b/.ci/license-header.rb @@ -17,7 +17,7 @@ puts 'done' print 'Checking files...' issue_files = [] branch_changed_files.each do |file_name| - if file_name.end_with?('.cpp', '.h', '.kt') and File.file?(file_name) + if file_name.end_with?('.cpp', '.h', '.kt', '.kts') and File.file?(file_name) file_content = File.read(file_name) if not file_content.start_with?(license_header) issue_files.push(file_name)