fix nuget tools filter
[teamcity/dotNetPackagesSupport.git] / nuget-server / src / jetbrains / buildServer / nuget / server / toolRegistry / impl / ToolsRegistry.java
index d0c9982512812f6115eeac6ce95aaae527fa0f2e..57198d5581bed4f3f34312cb1b4ff0d564c95879 100644 (file)
@@ -58,7 +58,7 @@ public class ToolsRegistry {
         continue;\r
       }\r
 \r
-      if (myNaming.getAgentToolFilePath(e).isFile()) {\r
+      if (!myNaming.getAgentToolFilePath(e).isFile()) {\r
         LOG.warn("NuGet tool is not packed for agent. " + e);\r
         continue;\r
       }\r