mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-11-05 15:58:19 +00:00
Verify NFC P2P with real Obsidian peers in Compose
This commit is contained in:
1 parent
4982d0188a
commit
8b1f03b1aa
7 files changed
+48
-17
No files matched your search
@@ -85,10 +85,10 @@ async function main(): Promise<void> {
|
||||
exitCode = 1;
|
||||
}
|
||||
}
|
||||
if (exitCode === 0) {
|
||||
if (exitCode === 0 && process.env.E2E_P2P_NFC_KEEP_ARTIFACTS !== "1") {
|
||||
await rm(artifactsDirectory, { recursive: true, force: true });
|
||||
} else {
|
||||
console.error("P2P NFC diagnostics were retained at " + artifactsDirectory);
|
||||
console.log("P2P NFC diagnostics were retained at " + artifactsDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user