Permalink
Browse files

tweaking project type change

  • Loading branch information...
1 parent 5f76469 commit ec8da76d415162b81e0a813de18179acc835c932 @abdullin abdullin committed Feb 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/Gtd.Console/Commands/ChangeProjectTypeCommand.cs
@@ -20,11 +20,11 @@ public void Execute(ConsoleEnvironment env, string[] args)
{
changeTo = ProjectType.Parallel;
}
- else if (lowerInvariant.StartsWith("se"))
+ else if (lowerInvariant.StartsWith("s"))
{
changeTo = ProjectType.Sequential;
}
- else if (lowerInvariant.StartsWith("li"))
+ else if (lowerInvariant.StartsWith("l"))
{
changeTo = ProjectType.List;
}
@@ -35,7 +35,7 @@ public void Execute(ConsoleEnvironment env, string[] args)
}
- env.TrustedSystem.When(new Gtd.ChangeProjectType(env.Session.SystemId, project.ProjectId, changeTo));
+ env.TrustedSystem.When(new ChangeProjectType(env.Session.SystemId, project.ProjectId, changeTo));
env.Log.Trace("Projec type changed");
}
}

0 comments on commit ec8da76

Please sign in to comment.