New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data collector extensibility in Test Plugin Cache #1991
Data collector extensibility in Test Plugin Cache #1991
Conversation
src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyExecutionManager.cs
Show resolved
Hide resolved
not related to your PR, but please fix this (private..?) Refers to: src/Microsoft.TestPlatform.CrossPlatEngine/DataCollection/InProcDataCollectionExtensionManager.cs:27 in 215b527. [](commit_id = 215b527, deletion_comment = False) |
...icrosoft.TestPlatform.CrossPlatEngine/DataCollection/InProcDataCollectionExtensionManager.cs
Outdated
Show resolved
Hide resolved
/// <returns> Codebase </returns> | ||
private string GetCodebase(string codeBase) | ||
{ | ||
return Path.IsPathRooted(codeBase) ? codeBase : Path.Combine(this.defaultCodeBase, codeBase); | ||
if (!Path.IsPathRooted(codeBase)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: you can flip the condition. if (path.ispathrooted(,....)) { return codebase }
...atform.CrossPlatEngine.UnitTests/DataCollection/InProcDataCollectionExtensionManagerTests.cs
Outdated
Show resolved
Hide resolved
...icrosoft.TestPlatform.CrossPlatEngine/DataCollection/InProcDataCollectionExtensionManager.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description