diff --git a/x-pack/plugins/reporting/server/browsers/install.ts b/x-pack/plugins/reporting/server/browsers/install.ts index 22f9ec776210e..f672e842af3bd 100644 --- a/x-pack/plugins/reporting/server/browsers/install.ts +++ b/x-pack/plugins/reporting/server/browsers/install.ts @@ -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) {