WebOptimizer
WebOptimizer copied to clipboard
PhysicalPath of IFileInfo can be null causing exception
https://github.com/ligershark/WebOptimizer/blob/32708323bd53836b4a43837b0f8b80673c9db736/src/WebOptimizer.Core/Processors/CssFingerprinter.cs#L61
If dir is null
on this line Exception occurs that breaks all SCSS compilation
Maybe it must work like this?
var info = new FileInfo(dir == null ? pathOnly : Path.Combine(dir, pathOnly.TrimStart('/')));