Skip to content

Commit

Permalink
Blacklisted "debug" in script processor
Browse files Browse the repository at this point in the history
  • Loading branch information
raulssorban committed Oct 9, 2023
1 parent 1507e42 commit 4e12fa7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Carbon.Core/Carbon.Components/Carbon.Common
2 changes: 1 addition & 1 deletion Carbon.Core/Carbon/src/Jobs/ScriptCompilationThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public override void ThreadFunction()
{
HookCaller.GeneratePartial(root, out var partialTree, parseOptions, pdb_filename);

trees.Add(partialTree);
trees.Add(partialTree.SyntaxTree);
}

foreach (var element in root.Usings)
Expand Down
5 changes: 3 additions & 2 deletions Carbon.Core/Carbon/src/Processors/ScriptProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/*
*
* Copyright (c) 2022-2023 Carbon Community
* Copyright (c) 2022-2023 Carbon Community
* All rights reserved.
*
*/
Expand All @@ -27,7 +27,8 @@ public override void Start()
{
BlacklistPattern = new[]
{
"backups"
"backups",
"debug"
};

base.Start();
Expand Down

0 comments on commit 4e12fa7

Please sign in to comment.