mirror of
https://github.com/anotherlusitano/SpectrumPlus.git
synced 2026-07-22 04:10:27 +00:00
dev: Check for TESTING_VAULT_PATH environment variable
This commit is contained in:
parent
2ef77ea509
commit
a044852529
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ function createSnippetArray () {
|
|||
})
|
||||
}
|
||||
|
||||
if (process.env.TESTING_VAULT_PATH === undefined) {
|
||||
console.error("TESTING_VAULT_PATH is not set in the environment variables.");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const testingVaultPath = path.join(
|
||||
process.env.TESTING_VAULT_PATH,
|
||||
".obsidian",
|
||||
|
|
|
|||
Loading…
Reference in a new issue