public FilePath?Finalize( IPatcherRun patcher, FilePath outputPath) { if (!_fileSystem.File.Exists(outputPath)) { _reporter.ReportRunProblem(patcher.Key, patcher.Name, new ArgumentException($"Patcher {patcher.Name} did not produce output file.")); return(null); } _reporter.ReportRunSuccessful(patcher.Key, patcher.Name, outputPath); return(outputPath); }
public void ReportRunSuccessful(IPatcherRun patcher, string outputPath) { _wrapped.ReportRunSuccessful(patcher, outputPath); }