Skip to content

Commit 76d5828

Browse files
committed
update copyright
1 parent 8b5ed66 commit 76d5828

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

test/scrape_mdn_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
1+
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

tool/scrape_mdn.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
1+
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// ignore_for_file: prefer_expression_function_bodies
6-
75
import 'dart:convert';
86
import 'dart:io';
97

@@ -169,9 +167,7 @@ String convertMdnToMarkdown(String content) {
169167
});
170168

171169
// Remove additional mustache-like directives ({{InheritanceDiagram}}, ...).
172-
text = text.replaceAllMapped(_mustacheRegex, (match) {
173-
return '';
174-
});
170+
text = text.replaceAllMapped(_mustacheRegex, (match) => '');
175171

176172
// Replace multiple blank lines by 2 blank lines.
177173
text = text.replaceAll(RegExp('\n\n\n+'), '\n\n');

0 commit comments

Comments
 (0)