Skip to content

Commit

Permalink
Fixed a typo causing local tags not to be parsed.
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleighAdams committed Jan 28, 2021
1 parent 9cadcbc commit cb5e9a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Verlite.Core/GitRepoInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public async Task<TagContainer> GetTags(QueryTarget queryTarget)
catch (CommandException) { }
}

if (queryTarget.HasFlag(QueryTarget.Remote))
if (queryTarget.HasFlag(QueryTarget.Local))
{
try
{
Expand Down
6 changes: 3 additions & 3 deletions src/Verlite.Core/IRepoInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ namespace Verlite
[Flags]
public enum QueryTarget
{
None,
Local,
Remote,
None = 0,
Local = 1,
Remote = 2,
}

public class TagContainer : IEnumerable<Tag>
Expand Down

0 comments on commit cb5e9a4

Please sign in to comment.