Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2023
1 parent eaac60e commit b2df37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/progress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class GlobalAppConfig {
}

save() {
const encoded = encodeObject(this.data)
const encoded = encodeObject(this.data);

if (fs) fs.writeFileSync(this.path, JSON.stringify(encoded, null, 2));
else localStorage.setItem(this.path, JSON.stringify(encoded));
Expand Down

0 comments on commit b2df37f

Please sign in to comment.