Skip to content

Commit 652f269

Browse files
committed
fix: path for templates
1 parent 558082a commit 652f269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ditamap/ditamap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export abstract class Ditamap {
4545
private source: string;
4646

4747
constructor(private filename: string, protected data: JsonMap) {
48-
this.source = join(__dirname, Ditamap.templatesDir, this.getTemplateFileName());
48+
this.source = join(__dirname, '..', '..', Ditamap.templatesDir, this.getTemplateFileName());
4949
this.destination = join(Ditamap.outputDir, filename);
5050
}
5151

0 commit comments

Comments
 (0)