fix nuget tools filter
authorEugene Petrenko <eugene.petrenko@gmail.com>
Tue, 16 Aug 2011 06:53:20 +0000 (10:53 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Tue, 16 Aug 2011 06:53:20 +0000 (10:53 +0400)
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