Skip to content

Commit

Permalink
Update BrowsershotWrapper.php (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeSTEIN authored and nayluge committed Aug 23, 2019
1 parent b3ba103 commit 61b7a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Service/BrowsershotWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(
{
$this->browsershot = new Browsershot();

if($nodePath) {
if($npmPath) {
$this->browsershot->setNpmBinary($npmPath);
}

Expand All @@ -41,4 +41,4 @@ public function __call($name, $arguments): Browsershot
return $this->browsershot;

}
}
}

0 comments on commit 61b7a19

Please sign in to comment.