Index: lib/src/server/server.dart |
diff --git a/lib/src/server/server.dart b/lib/src/server/server.dart |
index 09f19c192f1f6b59eb5720fe767a1daeda864e92..c0ce18bd40ad4105b367771d6a4da1e9cf868953 100644 |
--- a/lib/src/server/server.dart |
+++ b/lib/src/server/server.dart |
@@ -219,7 +219,7 @@ class DevServer { |
final String _entryPath; |
factory DevServer(CompilerOptions options) { |
- assert(options.inputs.length == 1); |
+ assert(options.inputs.isNotEmpty); |
var fileResolvers = createFileResolvers(options.sourceOptions); |
if (options.sourceOptions.useImplicitHtml) { |