0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

Move nft warnings behind verbose logging (#10609)

* Move nft warnings behind verbose logging

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
This commit is contained in:
Matthew Phillips 2024-04-01 10:37:54 -04:00 committed by GitHub
parent 4c0f446731
commit 610859d6e5

View file

@ -53,11 +53,11 @@ export async function copyDependenciesToFunction(
if (module === 'sharp') continue;
if (entryPath === file) {
console.warn(
logger.debug(
`[@astrojs/vercel] The module "${module}" couldn't be resolved. This may not be a problem, but it's worth checking.`
);
} else {
console.warn(
logger.debug(
`[@astrojs/vercel] The module "${module}" inside the file "${file}" couldn't be resolved. This may not be a problem, but it's worth checking.`
);
}