Skip to content

Commit fd9d8e9

Browse files
committed
NuGet.Server 2.10.1: drop folder does not work
NuGet/NuGetGallery#2969
1 parent ea9de14 commit fd9d8e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGet.Server/Infrastructure/ServerPackageRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ private void FileSystemChanged(object sender, FileSystemEventArgs e)
639639

640640
// 1) If a .nupkg is dropped in the root, add it as a package
641641
if (String.Equals(Path.GetDirectoryName(e.FullPath), _fileSystemWatcher.Path, StringComparison.OrdinalIgnoreCase)
642-
&& String.Equals(Path.GetExtension(e.Name), "nupkg", StringComparison.OrdinalIgnoreCase))
642+
&& String.Equals(Path.GetExtension(e.Name), ".nupkg", StringComparison.OrdinalIgnoreCase))
643643
{
644644
// When a package is dropped into the server packages root folder, add it to the repository.
645645
AddPackagesFromDropFolder();

0 commit comments

Comments
 (0)