Skip to content

Commit

Permalink
Write srcDir to effective configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
about-code committed Aug 26, 2023
1 parent 2ce47ca commit 5e6ac4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export async function writeTestOutput(context) {
const snapshot = Object.assign({}, conf);
snapshot.baseDir = toReproducablePath(CWD, conf.baseDir, "{CWD}");
snapshot.outDir = toReproducablePath(CWD, conf.outDir, "{CWD}");
snapshot.srcDir = toReproducablePath(CWD, conf.srcDir, "{CWD}");
promises.push(writeTestFile(context, effectiveConfFile, JSON.stringify(snapshot, null, 2)));
}
if (termsFile && indexedTerms) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@
"unified": {},
"dev": {
"effectiveConfFile": "./glossarify-md-effective.conf.json"
}
},
"srcDir": "{CWD}/input/config-cli/deep-defaults"
}

0 comments on commit 5e6ac4b

Please sign in to comment.