Skip to content

Commit

Permalink
fix variable scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Oct 8, 2023
1 parent 5fe2e9a commit 48795e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/jupyter/capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ export async function jupyterCapabilities(kernelspec?: JupyterKernelspec) {

if (!jupyterCapsCache.has(language)) {
// if we are targeting julia then prefer the julia installed miniconda
let juliaCaps: JupyterCapabilities | undefined;
if (language === "julia") {
const juliaCaps = await getVerifiedJuliaCondaJupyterCapabilities();
juliaCaps = await getVerifiedJuliaCondaJupyterCapabilities();
if (juliaCaps) {
jupyterCapsCache.set(language, juliaCaps);
return juliaCaps;
Expand Down

0 comments on commit 48795e9

Please sign in to comment.