Skip to content

Commit

Permalink
Fix extension call to match new library
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantintegral committed Sep 11, 2024
1 parent fdb266f commit d09ee62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drainpipe-dev/scaffold/.twig-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

$web_root = $composer_json['extra']['drupal-scaffold']['locations']['web-root'];
$config->addExtension(new \TwigStorybook\Twig\TwigExtension(new \TwigStorybook\Service\StoryCollector(), '/../../../../' . $web_root));
$config->addTwigExtension(new \TwigStorybook\Twig\TwigExtension(new \TwigStorybook\Service\StoryCollector(), __DIR__ . $web_root));
}

return $config;

0 comments on commit d09ee62

Please sign in to comment.