From fd7c5754faf67c5253d34eda1bf47641942beabe Mon Sep 17 00:00:00 2001 From: Anthony van der Hoorn Date: Thu, 1 Oct 2015 11:29:41 -0700 Subject: [PATCH] Fix bug where we search for scripts in wwwroot/lib --- build/_k-standard-goals.shade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/_k-standard-goals.shade b/build/_k-standard-goals.shade index ca2de8a781..d3eabaa3c4 100644 --- a/build/_k-standard-goals.shade +++ b/build/_k-standard-goals.shade @@ -285,7 +285,8 @@ functions @{ // Don't include directories that are children of a node_modules or bower_components directory return Directory.GetFiles(path, searchPattern, SearchOption.AllDirectories) .Where(p => p.IndexOf(sep + "node_modules" + sep) < 0 && - p.IndexOf(sep + "bower_components" + sep) < 0) + p.IndexOf(sep + "bower_components" + sep) < 0 && + p.IndexOf(sep + "wwwroot" + sep + "lib" + sep) < 0) .Select(p => Path.GetDirectoryName(p)) .Distinct(); }