mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
feat: warning mode self-reference
This commit is contained in:
@@ -67,6 +67,9 @@ namespace Netch.Models
|
||||
if (mode == null)
|
||||
{
|
||||
Logging.Warning($"{relativePath} file included in {Remark} not found");
|
||||
}else if (mode == this)
|
||||
{
|
||||
Logging.Warning("Can't self-reference");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user