From e227d2a2665496ce08396de0d4f8ec71b832534b Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sat, 30 Apr 2016 20:42:16 -0500 Subject: [PATCH] (GH-258) Remove unnecessary configuration --- .../infrastructure.app/services/FileTypeDetectorService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/chocolatey/infrastructure.app/services/FileTypeDetectorService.cs b/src/chocolatey/infrastructure.app/services/FileTypeDetectorService.cs index fe96841247..866d31fbb3 100644 --- a/src/chocolatey/infrastructure.app/services/FileTypeDetectorService.cs +++ b/src/chocolatey/infrastructure.app/services/FileTypeDetectorService.cs @@ -27,7 +27,6 @@ namespace chocolatey.infrastructure.app.services public class FileTypeDetectorService : IFileTypeDetectorService { private readonly IFileSystem _fileSystem; - private readonly ChocolateyConfiguration _configuration; private const int DIE_SHOWERRORS = 0x00000001; private const int DIE_SHOWOPTIONS = 0x00000002; @@ -36,10 +35,9 @@ public class FileTypeDetectorService : IFileTypeDetectorService private const int DIE_SINGLELINEOUTPUT = 0x00000010; private const int DIE_SHOWFILEFORMATONCE = 0x00000020; - public FileTypeDetectorService(IFileSystem fileSystem, ChocolateyConfiguration configuration) + public FileTypeDetectorService(IFileSystem fileSystem) { _fileSystem = fileSystem; - _configuration = configuration; } //// http://stackoverflow.com/a/8861895/18475