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';
7
7
class DuplicateAssetNodeException implements Exception {
8
8
final String rootPackage;
9
9
final AssetId assetId;
10
- final String initialBuilderLabel ;
11
- final String newBuilderLabel ;
10
+ final String builder1 ;
11
+ final String builder2 ;
12
12
13
13
DuplicateAssetNodeException (
14
14
this .rootPackage,
15
15
this .assetId,
16
- this .initialBuilderLabel ,
17
- this .newBuilderLabel ,
16
+ this .builder1 ,
17
+ this .builder2 ,
18
18
);
19
19
@override
20
20
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 ' ;
27
23
}
28
24
}
29
25
Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ Skipping compiling ${buildStep.inputId} with dart2js because some of its
70
70
transitive libraries have sdk dependencies that are not supported on this platform:
71
71
72
72
$librariesString
73
-
74
- https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
75
73
''' );
76
74
return ;
77
75
}
Original file line number Diff line number Diff line change @@ -91,8 +91,6 @@ Skipping compiling ${buildStep.inputId} with dart2wasm because some of its
91
91
transitive libraries have sdk dependencies that are not supported on this platform:
92
92
93
93
$librariesString
94
-
95
- https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
96
94
''' );
97
95
return const Dart2WasmBootstrapResult .didNotCompile ();
98
96
}
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ Skipping compiling ${buildStep.inputId} with ddc because some of its
62
62
transitive libraries have sdk dependencies that not supported on this platform:
63
63
64
64
$librariesString
65
-
66
- https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
67
65
''' );
68
66
return ;
69
67
}
You can’t perform that action at this time.
0 commit comments