Skip to content

Commit

Permalink
(chocolateyGH-258) Remove unnecessary configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed May 1, 2016
1 parent 01e338e commit e227d2a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit e227d2a

Please sign in to comment.