]> _ Git - cubist_minisearch.git/commitdiff
wip #5120
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Feb 2022 17:50:51 +0000 (18:50 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Feb 2022 17:50:51 +0000 (18:50 +0100)
src/Index.php

index ae657aa2ed467cee8b27d03b56953740855e848b..e3a8ec33ac4ca0f77ccdac35907d3fca42e521f2 100644 (file)
@@ -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);