From cc1d19aefa30157b2696b4d9f66e0d9a80edd12f Mon Sep 17 00:00:00 2001 From: Henry H Date: Wed, 14 Feb 2024 22:44:27 -0800 Subject: [PATCH] Adjust comment --- src/Backup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backup.ts b/src/Backup.ts index 6b411a7..4962375 100644 --- a/src/Backup.ts +++ b/src/Backup.ts @@ -312,8 +312,8 @@ class Backup { profileName = "default"; } - // This prevents the default joplin-dev profile's backup from overwriting - // a non-dev profile (both have a default profile named "default"). + // Appending a -dev to the profile name prevents a devmode default Joplin + // profile from overwriting a non-devmode Joplin profile. if ((await joplin.settings.globalValue("env")) === "dev") { profileName += "-dev"; }