Skip to content

Commit

Permalink
Remove source file check
Browse files Browse the repository at this point in the history
This is breaking downstream build rules.

[email protected]

Review URL: https://codereview.chromium.org/2199123003 .
  • Loading branch information
vsmenon committed Aug 2, 2016
1 parent a7dc32f commit bd789e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/dev_compiler/lib/src/compiler/command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit bd789e9

Please sign in to comment.