Skip to content

Commit

Permalink
Small formatting changes (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored Sep 18, 2023
1 parent a06b881 commit 3a21e09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/node/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function _createConnection<PConsole = _, PTracer = _, PTelemetry = _, PClient =

const connectionFactory = (logger: Logger): ProtocolConnection => {
const result = createProtocolConnection(input as any, output as any, logger, options);
if(stdio) {
if (stdio) {
patchConsole(logger);
}
return result;
Expand Down Expand Up @@ -295,7 +295,7 @@ function patchConsole(logger: Logger): undefined {
};

console.countReset = function countReset(label) {
if(label === undefined) {
if (label === undefined) {
counters.clear();
} else {
counters.delete(String(label));
Expand Down Expand Up @@ -331,4 +331,4 @@ function patchConsole(logger: Logger): undefined {
console.warn = function warn(...args) {
logger.warn(serialize(args));
};
}
}

0 comments on commit 3a21e09

Please sign in to comment.