Skip to content

Commit

Permalink
feat: support evengen.conf
Browse files Browse the repository at this point in the history
Addresses issue #27
  • Loading branch information
JasonConger committed Jul 29, 2021
1 parent 65ca7db commit 233ecf9
Show file tree
Hide file tree
Showing 2 changed files with 611 additions and 1 deletion.
6 changes: 5 additions & 1 deletion out/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,11 @@ function getSpecFilePath(basePath, filename) {
// Create a path to the spec file for the current document
if(!settingsSpecFilePath) {
// No path was configured in settings, so create a path to the built-in spec files
specFilePath = path.join(basePath, "spec_files", settingsSpecFileVersion, specFileName)
if(specFileName == "eventgen.conf.spec") {
specFilePath = path.join(basePath, "spec_files", specFileName)
} else {
specFilePath = path.join(basePath, "spec_files", settingsSpecFileVersion, specFileName)
}
} else {
specFilePath = path.join(specFilePath, specFileName)
}
Expand Down
Loading

0 comments on commit 233ecf9

Please sign in to comment.