log whether vault exists
Some checks failed
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
parent 07031ae6c9
commit 287a2f461e
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
3 changed files with 2 additions and 2 deletions

BIN
.yarn/install-state.gz vendored

Binary file not shown.

@ -49,7 +49,7 @@ function checkToy() {
function generateVaultConfig(vault: string) {
const vaultHash = randomBytes(8).toString("hex").toLocaleLowerCase();
let configLocation;
console.log("vault is", vault)
console.log("vault is", vault, existsSync(vault));
checkToy();
if (process.platform == "win32") {
configLocation = path.join(`${process.env.APPDATA}`, "Obsidian");

@ -134,7 +134,7 @@ export async function doWithApp<T = unknown, A = any>(
*/
export function waitForIndexingComplete(page: Page) {
return page.evaluateHandle<App>("window.app").then((appHandle) => {
return appHandle.evaluate(() => {
return appHandle.evaluate((app) => {
return new Promise((res2, rej2) => {
let resolved = false;
app.metadataCache.on("resolved", () => {