Console logs

deno-express
Zef Hemel 2023-06-02 13:20:04 +02:00
parent 1eac6f12f3
commit 610fe9de6d
2 changed files with 5 additions and 5 deletions

View File

@ -186,7 +186,7 @@ async function ping() {
await clientId, await clientId,
currentPage, currentPage,
); );
console.log("Collab ID", collabId); // console.log("Collab ID", collabId);
if (!collabId && currentCollabId) { if (!collabId && currentCollabId) {
// Stop collab // Stop collab
console.log("Stopping collab"); console.log("Stopping collab");

View File

@ -60,10 +60,10 @@ export class SyncService {
if (!this.isSyncCandidate(path)) { if (!this.isSyncCandidate(path)) {
// So we're editing a page and just saved it, but it's not a sync candidate // So we're editing a page and just saved it, but it's not a sync candidate
// Assumption: we're in collab mode for this file, so we're going to constantly update our local hash // Assumption: we're in collab mode for this file, so we're going to constantly update our local hash
console.log( // console.log(
"Locally updating last modified in snapshot becaus we're in collab mode", // "Locally updating last modified in snapshot becaus we're in collab mode",
meta, // meta,
); // );
await this.updateLocalLastModified(path, meta.lastModified); await this.updateLocalLastModified(path, meta.lastModified);
} }
}); });