Skip to content

Commit 9994cec

Browse files
Potential fix for pull request finding 'Call to System.IO.Path.Combine'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 4ff2562 commit 9994cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Elastic.Documentation.Services.Tests/ChangelogServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ public async Task CreateChangelog_WithIssues_CreatesValidYaml()
562562
"https://github.com/elastic/elasticsearch/issues/123",
563563
"https://github.com/elastic/elasticsearch/issues/456"
564564
],
565-
Output = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString())
565+
Output = new FileSystem().Path.Combine(new FileSystem().Path.GetTempPath(), Guid.NewGuid().ToString())
566566
};
567567

568568
// Act

0 commit comments

Comments
 (0)