Skip to content

Commit

Permalink
Fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsidianMinor committed Apr 13, 2017
1 parent b1f5154 commit d492b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Gfycat.Net/Gfycat.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Copyright></Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageTags>gfycat;netstandard</PackageTags>
<PackageReleaseNotes>See GitHub for release notes: https://github.com/ObsidianMinor/Gfycat.Net/releases/tag/v1.0.5</PackageReleaseNotes>
<PackageReleaseNotes>See GitHub for release notes: https://github.com/ObsidianMinor/Gfycat.Net/releases/tag/v1.0.6</PackageReleaseNotes>
<DefineConstants>NETSTANDARD1_2;RELEASE</DefineConstants>
<Optimize>False</Optimize>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
Expand All @@ -21,7 +21,7 @@
<RepositoryType>git</RepositoryType>
<PackageLicenseUrl>http://opensource.org/licenses/MIT</PackageLicenseUrl>
<AssemblyName>Gfycat.Net</AssemblyName>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard1.2|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
2 changes: 1 addition & 1 deletion src/Gfycat.Net/GfycatClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public static bool IsValidGfyUrl(string gfycatUrl, out string gfyName)
lastSegment = lastSegment.Remove(infoPos);

gfyName = IsValidGfyName(lastSegment) ? lastSegment : null;
return gfyName == null;
return gfyName != null;
}
}
/// <summary>
Expand Down

0 comments on commit d492b7e

Please sign in to comment.