Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: lib/src/compiler/command.dart

Issue 2199123003: Remove source file check (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revert other files Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/command.dart
diff --git a/lib/src/compiler/command.dart b/lib/src/compiler/command.dart
index a1268c55d3097341c7e08423caa42627896b123d..545d1a4850ad19c930dca6b3ac9e67219b025c72 100644
--- a/lib/src/compiler/command.dart
+++ b/lib/src/compiler/command.dart
@@ -72,10 +72,6 @@ class CompileCommand extends Command {
modulePath = path.basenameWithoutExtension(outPath);
}
- if (argResults.rest.isEmpty) {
- usageException('Please pass at least one source file as an argument.');
- }
-
var unit = new BuildUnit(modulePath, libraryRoot, argResults.rest,
(source) => _moduleForLibrary(moduleRoot, source));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698