Skip to content

Commit

Permalink
Invert SkipForked
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Dec 18, 2024
1 parent 0b5729b commit 130ecc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ricaun.Nuke/Components/IHazGitRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ public string GetGitRepositoryOwner()
/// <summary>
/// Determines if the forked repository should be skipped.
/// </summary>
/// <returns>True if the forked repository should be skipped; otherwise, false.</returns>
/// <returns>False if the forked repository should be skipped; otherwise, true.</returns>
public bool SkipForked()
{
if (EnableForkedRepository)
return false;
return true;

if (IsGitRepositoryForked())
return true;
return false;

return false;
return true;
}
/// <summary>
/// IsGitRepositoryForked
Expand Down

0 comments on commit 130ecc9

Please sign in to comment.