Skip to content

Commit

Permalink
fix: account for downloaded version not being found
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Dec 2, 2024
1 parent 8293a28 commit 1f7d361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const downloadBiome = async (): Promise<Uri | undefined> => {
async () => await downloadBiomeVersion(version.label),
);

return (await getDownloadedVersion()).binPath;
return (await getDownloadedVersion())?.binPath;
};

const downloadBiomeVersion = async (
Expand Down

0 comments on commit 1f7d361

Please sign in to comment.