Skip to content

Commit

Permalink
fix(daemon): format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavis committed Oct 13, 2023
1 parent b3043c2 commit 8249d19
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions packages/daemon/src/daemon-node-powers.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,14 +558,16 @@ export const makeDaemonicPersistencePowers = (
await filePowers.writeFileText(file, `${q(formula)}\n`);
};

const webPageBundlerFormula = includeWebPageBundler ? {
type: /** @type {'import-unsafe'} */ ('import-unsafe'),
worker: `worker-id512:${zero512}`,
powers: 'host',
importPath: fileURLToPath(
new URL('web-page-bundler.js', import.meta.url).href,
),
} : undefined;
const webPageBundlerFormula = includeWebPageBundler
? {
type: /** @type {'import-unsafe'} */ ('import-unsafe'),
worker: `worker-id512:${zero512}`,
powers: 'host',
importPath: fileURLToPath(
new URL('web-page-bundler.js', import.meta.url).href,
),
}
: undefined;

return harden({
initializePersistence,
Expand Down

0 comments on commit 8249d19

Please sign in to comment.