You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
_additionalInfo="Found string in files that are ignored by .gitignore. If you want to search in these files, run the program with the --ignore-gitignore flag.";
44
+
AdditionalInformation=
45
+
"Found string in files that are ignored by .gitignore. If you want to search in these files, run the program with the --ignore-gitignore flag.";
46
46
hasIgnoredFiles=true;
47
47
break;
48
48
}
49
-
49
+
50
50
_files.Add(file);
51
51
break;
52
52
}
@@ -57,6 +57,7 @@ public override void Run()
57
57
{
58
58
found=!found;
59
59
}
60
+
60
61
Status=found?CheckStatus.Green:StatusWhenFailed;
61
62
}
62
63
@@ -66,7 +67,8 @@ public override string ToString()
66
67
{
67
68
returnbase.ToString();
68
69
}
69
-
70
-
returnbase.ToString()+$"\nSearch string: {searchString} found in following files:\n{string.Join("\n",_files)}\nTotal number of files: {_files.Count}\n{_additionalInfo}";
70
+
71
+
returnbase.ToString()+
72
+
$"\nSearch string: {searchString} found in following files:\n{string.Join("\n",_files)}\nTotal number of files: {_files.Count}\n{AdditionalInformation}";
0 commit comments