Skip to content

Commit 7f24eaf

Browse files
xavierpinhoVicTachev
authored andcommitted
Use platform-agnostic path
1 parent 9d906cc commit 7f24eaf

File tree

1 file changed

+1
-1
lines changed
  • Telerik.Examples.RazorPages/Telerik.Examples.RazorPages/Pages

1 file changed

+1
-1
lines changed

Telerik.Examples.RazorPages/Telerik.Examples.RazorPages/Pages/Index.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void OnGet()
2424
var foldersToExclude = new string[] { "Pages", "Shared", "EditorTemplates" };
2525
var fileNames = new List<string>();
2626
var directoryNames = new List<string>();
27-
var txtPath = @".\Pages";
27+
var txtPath = Path.Combine(".", "Pages");
2828
string[] files = Directory.GetFiles(txtPath, "*.cshtml", SearchOption.AllDirectories);
2929

3030
foreach (var file in files)

0 commit comments

Comments
 (0)