Kuinox / NupkgDeterministicator

Make your NuGet packages deterministic
MIT License
8 stars 2 forks source link

Do not throw an exception if a nupkg is already deterministic #6

Closed BinToss closed 2 months ago

BinToss commented 2 months ago

This probably shouldn't be considered an error.

Unhandled exception. System.IO.IOException: Source and destination path must be different.
   at System.IO.Directory.Move(String sourceDirName, String destDirName)
   at Kuinox.NupkgDeterministicator.Build.RenamePsmdcp(String packageDir, String name) in C:\dev\Kuinox.NupkgDeterministicator\Kuinox.NupkgDeterministicator\Program.cs:line 106
   at Kuinox.NupkgDeterministicator.Build.RepackNugetPackage(String path, DateTime dateTime) in C:\dev\Kuinox.NupkgDeterministicator\Kuinox.NupkgDeterministicator\Program.cs:line 61
   at Kuinox.NupkgDeterministicator.Build.Main(String[] args) in C:\dev\Kuinox.NupkgDeterministicator\Kuinox.NupkgDeterministicator\Program.cs:line 38