mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Merge pull request #1279 from disarray2077/patch-1
Allow underline in generated file name
This commit is contained in:
commit
ba9d99fa76
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ namespace IDE.ui
|
|||
{
|
||||
for (char8 c in fileName.RawChars)
|
||||
{
|
||||
if (!c.IsLetterOrDigit)
|
||||
if (!c.IsLetterOrDigit && c != '_')
|
||||
{
|
||||
gApp.Fail(scope $"Invalid generated file name: {fileName}");
|
||||
hadError = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue