diff --git a/package.json b/package.json index e6ac415..0c4613d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aviarytech/tev2-hrgt", - "version": "0.0.7", + "version": "0.0.8", "description": "Human Readable Glossary Tool (HRGT)", "main": "lib/Run.js", "types": "lib/Run.d.ts", diff --git a/src/Glossary.ts b/src/Glossary.ts index e579b9e..4e16939 100644 --- a/src/Glossary.ts +++ b/src/Glossary.ts @@ -86,10 +86,11 @@ export class Glossary { * @returns A promise that resolves to the populated runtime glossary. */ public async initialize(mrgFileName: string | null): Promise { - let glossarydir = path.join(this.scopedir, this.saf.scope.glossarydir); - console.log("glossary dir", glossarydir); - console.log("mrg file", mrgFileName ?? this.saf.scope.mrgfile); - let mrgfile = path.join(glossarydir, mrgFileName ?? this.saf.scope.mrgfile); + let mrgfile = path.join( + this.scopedir, + this.saf.scope.glossarydir, + mrgFileName ?? this.saf.scope.mrgfile + ); // Get the MRG map of the MRG file const mrg = await this.getMrgMap(mrgfile); diff --git a/template.mustache b/template.mustache index 57e8ba1..f4d29c4 100644 --- a/template.mustache +++ b/template.mustache @@ -1,37 +1,37 @@ - - - - - - -Glossary - - -
-

Glossary

- -
- - \ No newline at end of file + + \ No newline at end of file