Skip to content

Commit

Permalink
chore: simplify else
Browse files Browse the repository at this point in the history
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
  • Loading branch information
patak-dev and benmccann committed Feb 28, 2023
1 parent 5ff8d8b commit 55b24a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vite/src/node/optimizer/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ export function scanImports(config: ResolvedConfig): {
)
}
return
} else {
debug(`Crawling dependencies using entries:\n ${entries.join('\n ')}`)
}

debug(`Crawling dependencies using entries:\n ${entries.join('\n ')}`)
return prepareEsbuildScanner(config, entries, deps, missing)
})

Expand Down

0 comments on commit 55b24a8

Please sign in to comment.