Skip to content

Commit 7a6c074

Browse files
authored
Remove links to deleted FAQ entries. (#4140)
1 parent c425af2 commit 7a6c074

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

build_runner_core/lib/src/asset_graph/exceptions.dart

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,19 @@ import 'package:build/build.dart';
77
class DuplicateAssetNodeException implements Exception {
88
final String rootPackage;
99
final AssetId assetId;
10-
final String initialBuilderLabel;
11-
final String newBuilderLabel;
10+
final String builder1;
11+
final String builder2;
1212

1313
DuplicateAssetNodeException(
1414
this.rootPackage,
1515
this.assetId,
16-
this.initialBuilderLabel,
17-
this.newBuilderLabel,
16+
this.builder1,
17+
this.builder2,
1818
);
1919
@override
2020
String toString() {
21-
final friendlyAsset =
22-
assetId.package == rootPackage ? assetId.path : assetId.uri;
23-
return 'Both $initialBuilderLabel and $newBuilderLabel may output '
24-
'$friendlyAsset. Potential outputs must be unique across all builders. '
25-
'See https://github.com/dart-lang/build/blob/master/docs/faq.md'
26-
'#why-do-builders-need-unique-outputs';
21+
final id = assetId.package == rootPackage ? assetId.path : assetId.uri;
22+
return 'Builders $builder1 and $builder2 outputs collide: $id';
2723
}
2824
}
2925

build_web_compilers/lib/src/dart2js_bootstrap.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ Skipping compiling ${buildStep.inputId} with dart2js because some of its
7070
transitive libraries have sdk dependencies that are not supported on this platform:
7171
7272
$librariesString
73-
74-
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
7573
''');
7674
return;
7775
}

build_web_compilers/lib/src/dart2wasm_bootstrap.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ Skipping compiling ${buildStep.inputId} with dart2wasm because some of its
9191
transitive libraries have sdk dependencies that are not supported on this platform:
9292
9393
$librariesString
94-
95-
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
9694
''');
9795
return const Dart2WasmBootstrapResult.didNotCompile();
9896
}

build_web_compilers/lib/src/dev_compiler_bootstrap.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ Skipping compiling ${buildStep.inputId} with ddc because some of its
6262
transitive libraries have sdk dependencies that not supported on this platform:
6363
6464
$librariesString
65-
66-
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
6765
''');
6866
return;
6967
}

0 commit comments

Comments
 (0)