dev: Check for TESTING_VAULT_PATH environment variable

This commit is contained in:
João Ribeiro 2026-06-17 22:07:44 +01:00
parent 2ef77ea509
commit a044852529

View file

@ -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",