Skip to content

Commit c89adc1

Browse files
authored
Merge pull request #685 from PA4WD/DemoGenerator_fix
Spaces in folder name's break DemoContentGenerator.Generate()
2 parents 3458e89 + dc648ad commit c89adc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MatBlazor.DevUtils/DemoContentGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void Generate()
110110
if (doc.DocumentElement.Attributes != null && doc.DocumentElement.Attributes["SourcePath"] != null)
111111
{
112112
var sourcePath = new Uri(new Uri(fileInfo.FullName),
113-
doc.DocumentElement.Attributes["SourcePath"].Value).AbsolutePath;
113+
doc.DocumentElement.Attributes["SourcePath"].Value).LocalPath;
114114
sourceContent = System.IO.File.ReadAllText(sourcePath);
115115
}
116116

0 commit comments

Comments
 (0)