Skip to content

Commit

Permalink
Fix for type: module in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
osbre authored and freekmurze committed Jun 28, 2023
1 parent d7094d4 commit 2d46fd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ protected function getFullCommand(array $command)
{
$nodeBinary = $this->nodeBinary ?: 'node';

$binPath = $this->binPath ?: __DIR__.'/../bin/browser.js';
$binPath = $this->binPath ?: __DIR__.'/../bin/browser.cjs';

$optionsCommand = $this->getOptionsCommand(json_encode($command));

Expand Down

0 comments on commit 2d46fd9

Please sign in to comment.