Skip to content

Commit

Permalink
don't require version when running default module
Browse files Browse the repository at this point in the history
  • Loading branch information
jvasileff committed Oct 16, 2016
1 parent ef03d8c commit 9ee476d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ class CeylonRunDartTool() extends RepoUsingTool(repoUsingToolresourceBundle) {
= ModuleUtil.moduleName(moduleString);

value moduleVersion
= checkModuleVersionsOrShowSuggestions(
= if (moduleName == "default")
then "unversioned"
else (checkModuleVersionsOrShowSuggestions(
repositoryManager,
moduleName,
ModuleUtil.moduleVersion(moduleString),
ModuleQuery.Type.\iDART,
null, null, null, null,
if (compile.empty) then "check" else compile) else "";
if (compile.empty) then "check" else compile) else "");

value exitCode
= runDartToplevel {
Expand Down

0 comments on commit 9ee476d

Please sign in to comment.