DescriptionAvoid passing an invalid file URI to analyzer on Windows.
If you use dart_style's library API and call format() without a URI, it
defaults to using "<unknown>" for the path. Analyzer now parses that as
a file URI (as opposed to just treating it like an opaque string), and
"<" isn't allowed on Windows, so the parsing fails.
Instead, just pass null along to analyzer and let it handle it.
R=jakemac@google.com
Committed: https://github.com/dart-lang/dart_style/commit/6839ce60ff79c98f61fa837ef577c12ca852b243
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|