Skip to content

Commit

Permalink
chore(ios): fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Almouro committed May 10, 2024
1 parent 86380b3 commit 6f57afb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/platforms/android/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export { waitFor } from "./utils/waitFor";
export { executeAsync, executeCommand } from "./commands/shell";

export class AndroidProfiler implements Profiler {
waitUntilReady = (bundleId: string) => {
waitUntilReady = () => {
return new Promise<void>((resolve) => resolve());
};
getMeasures = () => {
Expand Down
1 change: 1 addition & 0 deletions packages/platforms/ios-instruments/src/XcodePerfParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const computeMeasures = (inputFileName: string) => {
ignoreAttributes: false,
parseAttributeValue: true,
textNodeName: "value",
// eslint-disable-next-line @typescript-eslint/no-unused-vars
updateTag(tagName: string, jPath: string, attrs: { [x: string]: string | number }) {
switch (tagName) {
case "trace-query-result": {
Expand Down
2 changes: 1 addition & 1 deletion packages/platforms/ios-instruments/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class IOSInstrumentsProfiler implements Profiler {
// Do we need anything here?
}

getScreenRecorder(videoPath: string): ScreenRecorder | undefined {
getScreenRecorder(): ScreenRecorder | undefined {
return undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/platforms/ios/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class IOSProfiler implements Profiler {
return new Promise<void>((resolve) => resolve());
}

async waitUntilReady(bundleId: string): Promise<void> {
async waitUntilReady(): Promise<void> {
return new Promise<void>((resolve) => resolve());
}

Expand Down

0 comments on commit 6f57afb

Please sign in to comment.