Skip to content

Commit 97493c2

Browse files
committed
Run prettier
1 parent f010dcf commit 97493c2

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
schedule:
11-
interval: "daily"
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

src/preload/preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const deleteWorker = (id) => {
4545

4646
ipcRenderer.on("installer_progress", (event, id, downloadedBytes, totalBytes) => {
4747
workers[id].updateDetails(`Downloading...\n\n${humanFileSize(downloadedBytes, false, 2)} / ${humanFileSize(totalBytes, false, 2)}`);
48-
workers[id].updateProgress(downloadedBytes / totalBytes * 90);
48+
workers[id].updateProgress((downloadedBytes / totalBytes) * 90);
4949
});
5050

5151
ipcRenderer.on("installer_unpacking", (event, id) => {

src/preload/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const humanFileSize = (bytes, si = false, dp = 1) => {
1515
} while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
1616

1717
return bytes.toFixed(dp) + " " + units[u];
18-
}
18+
};
1919

2020
module.exports = {
21-
humanFileSize
22-
};
21+
humanFileSize,
22+
};

src/renderer/SE3Api/versionsApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ export function GetVersionState(versionTag) {
6666

6767
/**
6868
* Cancels installing
69-
*
70-
* @param {String} versionTag
71-
* @returns
69+
*
70+
* @param {String} versionTag
71+
* @returns
7272
*/
7373
export function CancelInstall(versionTag) {
7474
return window.se3Api.CancelInstall(versionTag);
75-
}
75+
}

src/renderer/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ body {
4242
::-webkit-scrollbar-thumb {
4343
background-color: #666666;
4444
border-radius: 5px;
45-
}
45+
}

0 commit comments

Comments
 (0)