Skip to content

Commit

Permalink
fix(log): avoid logging resolve service initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Feb 27, 2024
1 parent e857df5 commit 8fe1cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/services/resolve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('initResolveService', () => {
expect(filterLogs(log.mock.calls)).toMatchInlineSnapshot(`
[
[
"warning",
"debug",
"🛂 - Initializing the resolve service (resolving from file://.../src/services/resolve.test.ts)!",
],
]
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('initResolveService', () => {
expect(filterLogs(log.mock.calls)).toMatchInlineSnapshot(`
[
[
"warning",
"debug",
"🛂 - Initializing the resolve service (resolving from file://.../src/services/resolve.test.ts)!",
],
]
Expand Down
2 changes: 1 addition & 1 deletion src/services/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function initResolve({
log: LogService;
}): Promise<ResolveService> {
log(
'warning',
'debug',
`🛂 - Initializing the resolve service (resolving from "${MAIN_FILE_URL}")!`,
);

Expand Down

0 comments on commit 8fe1cbc

Please sign in to comment.