Skip to content

Commit c11e24a

Browse files
committed
Fixes
1 parent 22b9f59 commit c11e24a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/client/datascience/jupyter/kernels/kernelService.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class KernelService {
263263

264264
// If no active interpreter, just act like everything is okay as we can't find a new spec anyway
265265
return true;
266-
};
266+
}
267267

268268
private async addMatchingSpec(bestInterpreter: PythonInterpreter, cancelToken?: CancellationToken): Promise<void> {
269269
const displayName = localize.DataScience.historyTitle();
@@ -324,7 +324,7 @@ export class KernelService {
324324
return js && js.name === specName;
325325
}) as JupyterKernelSpec;
326326
return match ? match.specFile : undefined;
327-
};
327+
}
328328

329329
//tslint:disable-next-line:cyclomatic-complexity
330330
private findSpecMatch = async (enumerator: () => Promise<(IJupyterKernelSpec | undefined)[]>): Promise<IJupyterKernelSpec | undefined> => {
@@ -414,7 +414,7 @@ export class KernelService {
414414

415415
traceInfo(`Found kernelspec match ${bestSpec ? `${bestSpec.name}' '${bestSpec.path}` : 'undefined'}`);
416416
return bestSpec;
417-
};
417+
}
418418

419419
private enumerateSpecs = async (_cancelToken?: CancellationToken): Promise<JupyterKernelSpec[]> => {
420420
// Ignore errors if there are no kernels.
@@ -455,7 +455,7 @@ export class KernelService {
455455
// This is failing for some folks. In that case return nothing
456456
return [];
457457
}
458-
};
458+
}
459459
private async getInterpreterDetailsFromProcess(baseProcessName: string): Promise<PythonInterpreter | undefined> {
460460
if (path.basename(baseProcessName) !== baseProcessName) {
461461
// This function should only be called with a non qualified path. We're using this

0 commit comments

Comments
 (0)