Skip to content

Commit 75f2259

Browse files
refactor: run prettier format
1 parent e8156e3 commit 75f2259

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/renderer/lib/install.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ export class InstallManager {
169169
logger.info(`Creating compose file at: ${composeFilePath}`);
170170

171171
// mask plain password
172-
const password = composeContent.services.windows.environment.PASSWORD ?? '';
173-
const maskedCompose = JSON.stringify(composeContent, null, 2)
174-
.replaceAll(password, '*'.repeat(password.length));
172+
const password = composeContent.services.windows.environment.PASSWORD ?? "";
173+
const maskedCompose = JSON.stringify(composeContent, null, 2).replaceAll(password, "*".repeat(password.length));
175174

176175
logger.info(`Compose file content: ${maskedCompose}`);
177176
}

src/renderer/lib/winboat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ export class Winboat {
715715
// Multiple spaces become one
716716
cmd = cmd.replace(/\s+/g, " ");
717717
// Remove plain password from logs
718-
cmd = cmd.replace(password, "*".repeat(password.length))
718+
cmd = cmd.replace(password, "*".repeat(password.length));
719719
this.appMgr?.incrementAppUsage(app);
720720
this.appMgr?.writeToDisk();
721721

0 commit comments

Comments
 (0)