Skip to content

Commit

Permalink
use same chromium path method is invoked with
Browse files Browse the repository at this point in the history
  • Loading branch information
eokoneyo committed Aug 12, 2024
1 parent 2439849 commit 69fd5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/browsers/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function installBrowser(
}

const backgroundInstall = async () => {
const binaryPath = paths.getBinaryPath(pkg, path.resolve(__dirname, '../../chromium'));
const binaryPath = paths.getBinaryPath(pkg, chromiumPath);
const binaryChecksum = await sha256(binaryPath).catch(() => '');

if (binaryChecksum !== pkg.binaryChecksum) {
Expand Down

0 comments on commit 69fd5a0

Please sign in to comment.