mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] format
This commit is contained in:
parent
49e0c24d7f
commit
520be8b113
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue