[xtro] 'raw' files might not exist. (#6191)
If we just fixed all the entries in the corresponding '*.ignore' file, there won't be a '*.raw' file.
This commit is contained in:
Родитель
0124e054f8
Коммит
17d73975c8
|
@ -220,7 +220,7 @@ namespace Extrospection {
|
|||
if (!shortname.Contains ("-"))
|
||||
continue;
|
||||
var rawfile = Path.ChangeExtension (file, ".raw");
|
||||
var raws = new List<string> (File.ReadAllLines (rawfile));
|
||||
var raws = new List<string> (File.Exists (rawfile) ? File.ReadAllLines (rawfile) : Array.Empty<string> ());
|
||||
var failures = new List<string> ();
|
||||
var lines = File.ReadAllLines (file);
|
||||
foreach (var entry in lines) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче