-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Support for Relative Paths Go Replace Detector (#1254)
* adding go tests * upgrade version * unused using statement * nit changes * nit * make tests more generic * simplifying conditional statements * simplifying --------- Co-authored-by: Amitla Vannikumar <avannikumar@microsoft.com>
- Loading branch information
Showing
3 changed files
with
507 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/Microsoft.ComponentDetection.Common/Telemetry/Records/GoReplaceTelemetryRecord.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Microsoft.ComponentDetection.Common.Telemetry.Records; | ||
|
||
public class GoReplaceTelemetryRecord : BaseDetectionTelemetryRecord | ||
{ | ||
public override string RecordName => "GoReplace"; | ||
|
||
public string GoModPathAndVersion { get; set; } | ||
|
||
public string GoModReplacement { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.