Skip to content

Commit 14c3510

Browse files
committed
style: 💄 fix linter warnings
1 parent 58ef627 commit 14c3510

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"license": "Apache-2.0",
4141
"scripts": {
4242
"format": "biome format ./src",
43-
"format:write": "biome format --write ./src",
43+
"format:fix": "biome format --write ./src",
4444
"lint": "biome lint ./src",
4545
"lint:fix": "biome lint --apply ./src",
4646
"clean": "rimraf lib typedocs coverage gh-pages yarn-error.log db dist",

src/server/http1/Http1Server.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ export class Http1Server implements Printable {
9696
if (secureContext && secureContextRefreshInterval) {
9797
const timer = setInterval(() => {
9898
try {
99-
secureContext().then((context) => {
100-
server.setSecureContext(context);
101-
}).catch((error) => {
102-
console.error('Failed to update secure context:', error);
103-
});
99+
secureContext()
100+
.then((context) => {
101+
server.setSecureContext(context);
102+
})
103+
.catch((error) => {
104+
console.error('Failed to update secure context:', error);
105+
});
104106
} catch (error) {
105107
console.error('Failed to update secure context:', error);
106108
}

0 commit comments

Comments
 (0)