Skip to content

Commit

Permalink
Clean type namespace before being used as a path
Browse files Browse the repository at this point in the history
  • Loading branch information
thegu5 authored and SamboyCoding committed Aug 26, 2024
1 parent fb78fcb commit ae542ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cpp2IL.Core/Model/Contexts/TypeAnalysisContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public string NamespaceAsSubdirs
get
{
var ns = Namespace;
return string.IsNullOrEmpty(ns) ? "" : Path.Combine(ns.Split('.'));
return string.IsNullOrEmpty(ns) ? "" : Path.Combine(MiscUtils.CleanPathElement(ns).Split('.'));
}
}

Expand Down

0 comments on commit ae542ed

Please sign in to comment.