From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 17:50:51 +0000 (+0100) Subject: wip #5120 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1e7bdf88d17417ef93b7b13db08b970215db11e5;p=cubist_minisearch.git wip #5120 --- diff --git a/src/Index.php b/src/Index.php index ae657aa..e3a8ec3 100644 --- a/src/Index.php +++ b/src/Index.php @@ -70,7 +70,7 @@ class Index implements ShouldQueue, ShouldBeUnique } $tmp = Files::tempnam(); file_put_contents($tmp, json_encode($res)); - $cl = new CommandLine('nodejs'); + $cl = new CommandLine('node'); $cl->cd(__DIR__ . '/../'); $cl->setArg(null, 'js/index.js'); $cl->setArg(null, $tmp);