Skip to content

Commit 2301d95

Browse files
Improve file ordering to use filename only
Co-authored-by: mdellison90-stack <230609064+mdellison90-stack@users.noreply.github.com>
1 parent 6784d08 commit 2301d95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/Core/Interop/Linux/LinuxSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private IDictionary<string, string> ReadExternalConfiguration()
6464
}
6565

6666
// Get all the files in the configuration directory and sort them alphabetically
67-
IEnumerable<string> files = _fs.EnumerateFiles(configDir, "*").OrderBy(f => f);
67+
IEnumerable<string> files = _fs.EnumerateFiles(configDir, "*").OrderBy(f => Path.GetFileName(f));
6868

6969
// Read the contents of each file and concatenate them together
7070
var combinedFile = new StringBuilder();

0 commit comments

Comments
 (0)