[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:
Родитель
309da40ee4
Коммит
2e295036db
|
@ -220,7 +220,7 @@ namespace Extrospection {
|
||||||
if (!shortname.Contains ("-"))
|
if (!shortname.Contains ("-"))
|
||||||
continue;
|
continue;
|
||||||
var rawfile = Path.ChangeExtension (file, ".raw");
|
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 failures = new List<string> ();
|
||||||
var lines = File.ReadAllLines (file);
|
var lines = File.ReadAllLines (file);
|
||||||
foreach (var entry in lines) {
|
foreach (var entry in lines) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче