瀏覽代碼

Emit 'swift-format-ignore-file' in generated files to avoid having them reformatted by swift-format (#1606)

Sergey Mikhanov 2 年之前
父節點
當前提交
00e0444f2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/license-check.sh

+ 1 - 1
scripts/license-check.sh

@@ -97,7 +97,7 @@ check_copyright_headers() {
       # Package.swift is preceeded by a "swift-tools-version" line.
       *.grpc.swift)
         expected_sha="$SWIFT_GRPC_SHA"
-        drop_first=8
+        drop_first=9
         expected_lines=13
         ;;
       *.pb.swift)