0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-01-31 15:31:41 +00:00 committed by astrobot-houston
parent 49e0c24d7f
commit 520be8b113

View file

@ -8,8 +8,8 @@ const matchers = [
// Never venture into OS folders
'/dev/**',
// libsql contains many native deps that are false-positives.
'**/@libsql/client/**/*'
].map(pattern => new Minimatch(pattern, { dot: true }));
'**/@libsql/client/**/*',
].map((pattern) => new Minimatch(pattern, { dot: true }));
export async function copyDependenciesToFunction(
{
@ -47,8 +47,8 @@ export async function copyDependenciesToFunction(
// If you have a route of /dev this appears in source and NFT will try to
// scan your local /dev :8
ignore(path) {
for(const minimatch of matchers) {
if(minimatch.match(path)) {
for (const minimatch of matchers) {
if (minimatch.match(path)) {
return true;
}
}