public static IFileSystem GetNuGetFileSystem(ChocolateyConfiguration configuration, ILogger nugetLogger) { var fileSystem = new ChocolateyPhysicalFileSystem(ApplicationParameters.PackagesLocation); if (configuration.Debug) { fileSystem.Logger = nugetLogger; } return fileSystem; }
public static IFileSystem GetNuGetFileSystem(ChocolateyConfiguration configuration, ILogger nugetLogger) { var fileSystem = new ChocolateyPhysicalFileSystem(ApplicationParameters.PackagesLocation); if (configuration.Debug) { fileSystem.Logger = nugetLogger; } return(fileSystem); }