Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

fix: Component notes do not work when using twigAdapter #46

Merged
merged 1 commit into from
Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class TwigAdapter extends Fractal.Adapter {

return new Promise(function(resolve, reject){

let tplPath = Path.relative(self._source.fullPath, path);
let tplPath = path ? Path.relative(self._source.fullPath, path) : undefined;

try {
let template = self.engine.twig({
Expand Down