Skip to content

Commit 4997078

Browse files
aegilopsCopilot
andauthored
Update src/componentDetection.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1d04ee8 commit 4997078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/componentDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class ComponentDetection {
3434
// This is the default entry point for this class.
3535
// If executablePath is provided, use it directly and skip download.
3636
async scanAndGetManifests(path: string): Promise<Manifest[] | undefined> {
37-
if (!this.componentDetectionPath) {
37+
if (!fs.existsSync(this.componentDetectionPath)) {
3838
await this.downloadLatestRelease();
3939
}
4040

0 commit comments

Comments
 (0)