check for non null input
This commit is contained in:
parent
a58ced4d7d
commit
b46ec1aedd
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ using Yavsc.Server.Models.IT.SourceCode;
|
||||||
using Yavsc.Server.Models.IT;
|
using Yavsc.Server.Models.IT;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace Yavsc.Lib
|
namespace Yavsc.Lib
|
||||||
{
|
{
|
||||||
|
|
@ -20,6 +21,7 @@ namespace Yavsc.Lib
|
||||||
|
|
||||||
public override void Launch(Project input)
|
public override void Launch(Project input)
|
||||||
{
|
{
|
||||||
|
if (input==null) throw new ArgumentNullException("input");
|
||||||
WorkingDir = _repositoryRootPath;
|
WorkingDir = _repositoryRootPath;
|
||||||
LogPath = $"{input.Name}.git-clone.ansi.log";
|
LogPath = $"{input.Name}.git-clone.ansi.log";
|
||||||
// TODO honor Args property
|
// TODO honor Args property
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue