Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 12, 2024
1 parent 38de92a commit b1ef540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/glob-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function * globSource (cwd: string, pattern: string, options?: Glob
realpath: false,
absolute: true,
dot: Boolean(options.hidden),
follow: options.followSymlinks != null ? options.followSymlinks : true
follow: options.followSymlinks ?? true
})

for await (const p of glob(cwd, pattern, globOptions)) {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/mock-pinning-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class PinningService {

async stop (): Promise<void> {
return new Promise<void>((resolve, reject) => {
this.server.close((err: any) => {
this.server.close((err?: Error | undefined) => {
if (err != null) {
reject(err)
} else {
Expand Down

0 comments on commit b1ef540

Please sign in to comment.