Permalink
Browse files

Changed to use ScanMode.ExcludeNancy instead

  • Loading branch information...
thecodejunkie committed Feb 8, 2013
1 parent 2c9e711 commit 1d567cf380eccecdcb3fa65e0e50a71e83a0a765
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Nancy/Bootstrapper/NancyBootstrapperBase.cs
@@ -565,8 +565,8 @@ private INancyEngine SafeGetNancyEngineInstance()
private static IRootPathProvider GetRootPathProvider()
{
var providerType = AppDomainAssemblyTypeScanner
- .TypesOf<IRootPathProvider>()
- .SingleOrDefault(type => type != typeof(DefaultRootPathProvider));
+ .TypesOf<IRootPathProvider>(ScanMode.ExcludeNancy)
+ .SingleOrDefault();
if (providerType == null)
{

0 comments on commit 1d567cf

Please sign in to comment.