Skip to content

Commit

Permalink
chore(automation): auto format code using deno fmt
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
wax911 committed Feb 1, 2025
1 parent 80af7ce commit 87f259a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
28 changes: 24 additions & 4 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/common/core/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ const logger = new Logger()
logger.profilingConfig()
.enabled(env<boolean>('OPTIC_TRACING'))
.captureMemory(true)
.withLogLevel(Level.Info)
.withLogLevel(Level.Info);

export { logger };
5 changes: 1 addition & 4 deletions src/common/mongo/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ class LocalSourceFactory {
}

const _localSourceFactory = new LocalSourceFactory(
new MongoClient(env<string>('MONGO_URL'), {
connectTimeoutMS: 1000,
monitorCommands: true,
}),
new MongoClient(env<string>('MONGO_URL')),
);

export default _localSourceFactory;
3 changes: 2 additions & 1 deletion src/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"std/http": "jsr:@std/[email protected]",
"std/dotenv": "jsr:@std/[email protected]",
"std/collections": "jsr:@std/[email protected]",
"std/testing": "jsr:@std/[email protected]",
"std/testing": "jsr:@std/[email protected]",
"std/testing/bdd": "jsr:@std/[email protected]/bdd",
"std/assert": "jsr:@std/[email protected]",
"optic": "jsr:@onjara/[email protected]",
"optic/formatters": "jsr:@onjara/[email protected]/formatters",
Expand Down

0 comments on commit 87f259a

Please sign in to comment.