Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.28000.2526" />
<PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="3.0.1" />
<PackageVersion Include="OwlCore.Storage" Version="0.14.0.999" />
<PackageVersion Include="Sentry" Version="6.1.0" />
<PackageVersion Include="Sentry" Version="6.8.0" />
<PackageVersion Include="SevenZipSharp" Version="1.0.2" />
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
<PackageVersion Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/Data/Commands/ActionCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public Task ExecuteAsync(object? parameter = null)
{
if (IsExecutable)
{
SentrySdk.Experimental.Metrics.EmitCounter("actions", 1, [new KeyValuePair<string, object>("command", Code.ToString())]);
SentrySdk.Metrics.EmitCounter("actions", 1, [new KeyValuePair<string, object>("command", Code.ToString())]);
return Action.ExecuteAsync(parameter);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Files.App/Services/Git/LibGit2Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public async Task<BranchItem[]> GetBranchNames(string? path)

public async Task<bool> Checkout(string? repositoryPath, string? branch)
{
SentrySdk.Experimental.Metrics.EmitCounter("Triggered git checkout", 1);
SentrySdk.Metrics.EmitCounter("Triggered git checkout", 1);

if (string.IsNullOrWhiteSpace(repositoryPath) || !IsRepoValid(repositoryPath))
return false;
Expand Down Expand Up @@ -255,7 +255,7 @@ public async Task<bool> Checkout(string? repositoryPath, string? branch)

public async Task CreateNewBranchAsync(string repositoryPath, string activeBranch)
{
SentrySdk.Experimental.Metrics.EmitCounter("Triggered create git branch", 1);
SentrySdk.Metrics.EmitCounter("Triggered create git branch", 1);

var viewModel = new AddBranchDialogViewModel(repositoryPath, activeBranch);
var loadBranchesTask = viewModel.LoadBranches();
Expand Down Expand Up @@ -285,7 +285,7 @@ await Checkout(repositoryPath, viewModel.BasedOn))

public async Task DeleteBranchAsync(string? repositoryPath, string? activeBranch, string? branchToDelete)
{
SentrySdk.Experimental.Metrics.EmitCounter("Triggered delete git branch", 1);
SentrySdk.Metrics.EmitCounter("Triggered delete git branch", 1);

if (string.IsNullOrWhiteSpace(repositoryPath) ||
string.IsNullOrWhiteSpace(activeBranch) ||
Expand Down
Loading