Chromium Code Reviews| Index: lib/src/options.dart |
| diff --git a/lib/src/options.dart b/lib/src/options.dart |
| index 7591a881de8934b804956d1e468f86d7b8838b5c..0b4778c2e19fcc4bac42f817b92fcbe47d792451 100644 |
| --- a/lib/src/options.dart |
| +++ b/lib/src/options.dart |
| @@ -311,7 +311,10 @@ CompilerOptions parseOptions(List<String> argv) { |
| useMultiPackage: args['use-multi-package'], |
| packageRoot: args['package-root'], |
| packagePaths: args['package-paths'].split(','), |
| - resources: args['resources'].split(','), |
| + resources: args['resources'] |
| + .split(',') |
| + .where((s) => s.isNotEmpty) |
| + .toList(), |
|
vsm
2015/05/29 19:32:32
Before, we had [''] - which caused one bogus resou
|
| inferDownwards: args['infer-downwards'], |
| inferFromOverrides: args['infer-from-overrides'], |
| inferTransitively: args['infer-transitively'], |