Skip to content
Snippets Groups Projects
Commit a5c9349e authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Don't declare the HTML output of the PubServeTransformer.

This output won't always be generated, and if we always declare it
"pub serve" will produce unsightly error messages when it would
conflict if generated.

See #84

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1097383002
parent 3aa7c120
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@
* Preserve the stack traces for load errors in isolates and iframes.
* Stop `pub serve` from emitting a duplicate-asset error for tests with custom
HTML files.
### 0.12.0-beta.10
* Fix running browser tests in subdirectories.
......
......@@ -22,7 +22,6 @@ class PubServeTransformer extends Transformer implements DeclaringTransformer {
var id = transform.primaryId;
transform.declareOutput(id.addExtension('.vm_test.dart'));
transform.declareOutput(id.addExtension('.browser_test.dart'));
transform.declareOutput(id.changeExtension('.html'));
}
Future apply(Transform transform) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment