Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void ReportRunSuccessful(IPatcherRun patcher, string outputPath)
 {
     _wrapped.ReportRunSuccessful(patcher, outputPath);
 }