Skip to content

Commit

Permalink
Adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Feb 15, 2024
1 parent 41a2354 commit cc1d19a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit cc1d19a

Please sign in to comment.