Skip to content

Commit

Permalink
fix(profiler): fix bundle id option in profile command
Browse files Browse the repository at this point in the history
  • Loading branch information
Almouro committed Sep 27, 2022
1 parent 84153dd commit 595060d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/android-performance-profiler/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ program
// eslint-disable-next-line @typescript-eslint/no-var-requires
} = require("./commands/pollPerformanceMeasures");

const bundleId =
options.bundleId || getPidId(detectCurrentAppBundleId().bundleId);
const bundleId = options.bundleId || detectCurrentAppBundleId().bundleId;
const pid = getPidId(bundleId);

pollPerformanceMeasures(bundleId, (measure: Measure) => {
pollPerformanceMeasures(pid, (measure: Measure) => {
const headers: string[] = [];
const values: number[] = [];

Expand Down

0 comments on commit 595060d

Please sign in to comment.