Skip to content

Commit

Permalink
Clean up installPSResource
Browse files Browse the repository at this point in the history
  • Loading branch information
alerickson committed May 8, 2024
1 parent 99e62fc commit 7291ddc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/code/InstallPSResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Management.Automation;
Expand Down Expand Up @@ -280,10 +279,6 @@ protected override void ProcessRecord()
switch (ParameterSetName)
{
case NameParameterSet:
// Stopwatch stopwatch = new Stopwatch();
// Start measuring time
// stopwatch.Start();

ProcessInstallHelper(
pkgNames: Name,
pkgVersion: Version,
Expand All @@ -292,12 +287,6 @@ protected override void ProcessRecord()
pkgCredential: Credential,
reqResourceParams: null);

// Stop measuring time
// stopwatch.Stop();
// Get the elapsed time in milliseconds
// long elapsedMilliseconds = stopwatch.ElapsedMilliseconds;
// Console.WriteLine($"Total Elapsed Time: {elapsedMilliseconds} milliseconds");

break;

case InputObjectParameterSet:
Expand Down

0 comments on commit 7291ddc

Please sign in to comment.