Skip to content
This repository has been archived by the owner on Dec 28, 2017. It is now read-only.

Commit

Permalink
Merge pull request #34 from cake-contrib/feature/GH-31
Browse files Browse the repository at this point in the history
(GH-31) Fix typo in property name
  • Loading branch information
pascalberger committed Mar 30, 2017
2 parents 24e9f1d + 22c1147 commit 6dd61be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Cake.Prca.PullRequests.Tfs/TfsPullRequestSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public TfsPullRequestSettings(Uri repositoryUrl, int pullRequestId, IPrcaCredent
/// Gets or sets a value indicating whether an exception should be thrown if no
/// pull request exists or not.
/// </summary>
public bool ThrowExceptionIfPulLRequestDoesNotExist { get; set; } = true;
public bool ThrowExceptionIfPullRequestDoesNotExist { get; set; } = true;
}
}
4 changes: 2 additions & 2 deletions src/Cake.Prca.PullRequests.Tfs/TfsPullRequestSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public TfsPullRequestSystem(ICakeLog log, TfsPullRequestSettings settings)

if (this.pullRequest == null)
{
if (this.settings.ThrowExceptionIfPulLRequestDoesNotExist)
if (this.settings.ThrowExceptionIfPullRequestDoesNotExist)
{
throw new PrcaException("Could not find pull request");
}
Expand Down Expand Up @@ -275,7 +275,7 @@ public override void PostDiscussionThreads(IEnumerable<ICodeAnalysisIssue> issue

/// <summary>
/// Validates if a pull request could be found.
/// Depending on <see cref="TfsPullRequestSettings.ThrowExceptionIfPulLRequestDoesNotExist"/>
/// Depending on <see cref="TfsPullRequestSettings.ThrowExceptionIfPullRequestDoesNotExist"/>
/// the pull request instance can be null for subsequent calls.
/// </summary>
/// <returns>True if a valid pull request instance exists.</returns>
Expand Down

0 comments on commit 6dd61be

Please sign in to comment.