File tree Expand file tree Collapse file tree 4 files changed +6
-16
lines changed
build_runner_core/lib/src/asset_graph
build_web_compilers/lib/src Expand file tree Collapse file tree 4 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,19 @@ import 'package:build/build.dart';
77class 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
Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ Skipping compiling ${buildStep.inputId} with dart2js because some of its
7070transitive 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 }
Original file line number Diff line number Diff line change @@ -91,8 +91,6 @@ Skipping compiling ${buildStep.inputId} with dart2wasm because some of its
9191transitive 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 }
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ Skipping compiling ${buildStep.inputId} with ddc because some of its
6262transitive 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 }
You can’t perform that action at this time.
0 commit comments