From cf71aa7a548b17bb21ebdacdccef1cdcdc78726f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Cho=C5=82aj?= Date: Thu, 17 Mar 2022 11:06:54 +0100 Subject: [PATCH] Update BinaryRenderer.php --- src/Mjml/BinaryRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mjml/BinaryRenderer.php b/src/Mjml/BinaryRenderer.php index 85f3afc..8f4b72e 100644 --- a/src/Mjml/BinaryRenderer.php +++ b/src/Mjml/BinaryRenderer.php @@ -14,6 +14,6 @@ public function __construct() public function getMjmlBinaryPath(): string { - return config(EscolaLmsTemplatesEmailServiceProvider::CONFIG_KEY . '.mjml.binary_path', base_path('node_modules/.bin/mjml')); + return config(EscolaLmsTemplatesEmailServiceProvider::CONFIG_KEY . '.mjml.binary_path', base_path('node_modules/.bin/mjml')) ?? base_path('node_modules/.bin/mjml'); } }