Skip to content

Commit

Permalink
fix: TS/eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Jul 5, 2024
1 parent 31971e1 commit 8983886
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ import { processOutput as processRamOutput } from "../ram/pollRamUsage";

export const CppProfilerName = `BAMPerfProfiler`;

// Since Flipper uses esbuild, we copy the bin folder directly
// into the Flipper plugin directory
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
const defaultBinaryFolder = `${__dirname}/../../..${__dirname.includes("dist") ? "/.." : ""}/cpp-profiler/bin`;
// Allow overriding the binary folder with an environment variable
const binaryFolder = process.env.FLASHLIGHT_BINARY_PATH || defaultBinaryFolder;

export abstract class UnixProfiler implements Profiler {
Expand Down

0 comments on commit 8983886

Please sign in to comment.