Skip to content

Commit

Permalink
Update IsPathTooLong
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Dec 12, 2024
1 parent adc41a1 commit 435563b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Update `IClear` with `CreateTemporaryIgnore`.
- [ ] Update `ISign` with `Requires`.
- Add `HttpAuthTasks` to get/post files.
- Update `IsPathTooLong` to equal or greater than `260`.
### Tests
- Update `NuGetExtensionTests`
- Add `AzureKeyVaultConfigTests`
Expand Down
2 changes: 1 addition & 1 deletion ricaun.Nuke/Extensions/PathTooLongUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public int GetFilePathLong()
/// <returns></returns>
public bool IsPathTooLong()
{
return GetFilePathLong() > MAX_PATH;
return GetFilePathLong() >= MAX_PATH;
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion ricaun.Nuke/ricaun.Nuke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<PropertyGroup>
<PackageId>ricaun.Nuke</PackageId>
<Version>1.9.0-alpha.8</Version>
<Version>1.9.0-alpha.9</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 435563b

Please sign in to comment.