Skip to content

Commit

Permalink
chore: logging cleanup (#11263)
Browse files Browse the repository at this point in the history
  • Loading branch information
wackbyte authored Jun 17, 2024
1 parent 7a816cc commit eed5d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/integrations/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
},
});
},
'astro:config:done': ({ setAdapter, config }) => {
'astro:config:done': ({ setAdapter, config, logger }) => {
_options = {
...userOptions,
client: config.build.client?.toString(),
Expand All @@ -57,8 +57,8 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
setAdapter(getAdapter(_options));

if (config.output === 'static') {
console.warn(
`[@astrojs/node] \`output: "server"\` or \`output: "hybrid"\` is required to use this adapter.`
logger.warn(
`\`output: "server"\` or \`output: "hybrid"\` is required to use this adapter.`
);
}
},
Expand Down

0 comments on commit eed5d80

Please sign in to comment.