Skip to content

Commit

Permalink
fix: fixes rimraf import statement in postinstall script (#66)
Browse files Browse the repository at this point in the history
it was causing the postinstall inscript to fail upon running, which lead to chromium not installing in arm64 builds
  • Loading branch information
tcortega authored Jul 8, 2023
1 parent 82dd508 commit ee27dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import isNil from 'lodash/isNil.js';
import fetch from 'node-fetch';
import { installBrowsersForNpmInstall } from 'playwright-core/lib/server'
import puppeteer from 'puppeteer'
import rimraf from 'rimraf'
import {rimraf} from 'rimraf'
const __dirname = dirname(fileURLToPath(import.meta.url));

const execAsync = promisify(nodeExec);
Expand Down

0 comments on commit ee27dc7

Please sign in to comment.