Skip to content

Commit

Permalink
minor corrections I spotted
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpi committed Dec 3, 2024
1 parent cdfd317 commit fc2be2d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions tracer/build/_build/Build.Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ partial class Build
Target PrintSnapshotsDiff => _ => _
.Description("Prints snapshots differences from the current tests")
.AssuredAfterFailure()
.OnlyWhenStatic(() => IsServerBuild)
.Executes(() =>
{
var snapshotsDirectory = TestsDirectory / "snapshots";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System;
using System.ComponentModel;
using Datadog.Trace.ClrProfiler.CallTarget;
using Datadog.Trace.Configuration;
using Datadog.Trace.Iast;
using Datadog.Trace.Vendors.Serilog;

Expand Down
2 changes: 1 addition & 1 deletion tracer/src/Datadog.Trace/Iast/IastModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ public bool AddDbValue(object instance, string? column, string value)
if (context is not null)
{
context.AddDbValue(column, value);
return false;
return true;
}

return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public AspNetCore5IastDbTests(AspNetCoreTestFixture fixture, ITestOutputHelper o

[SkippableTheory]
[Trait("Category", "ArmUnsupported")]
[Trait("RunOnWindows", "True")]
[InlineData("System.Data.SQLite")]
[InlineData("Microsoft.Data.Sqlite")]
[InlineData("System.Data.SqlClient")]
Expand Down Expand Up @@ -64,7 +63,6 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)

[SkippableTheory]
[Trait("Category", "ArmUnsupported")]
[Trait("RunOnWindows", "True")]
[InlineData("System.Data.SQLite")]
[InlineData("Microsoft.Data.Sqlite")]
[InlineData("System.Data.SqlClient")]
Expand Down Expand Up @@ -101,7 +99,6 @@ await VerifyHelper.VerifySpans(spansFiltered, settings)

[SkippableTheory]
[Trait("Category", "ArmUnsupported")]
[Trait("RunOnWindows", "True")]
[InlineData("System.Data.SQLite")]
[InlineData("Microsoft.Data.Sqlite")]
[InlineData("System.Data.SqlClient")]
Expand Down

0 comments on commit fc2be2d

Please sign in to comment.