Skip to content

Commit d86dbc5

Browse files
committed
Add tests
1 parent 6620c66 commit d86dbc5

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
@@ -233,7 +233,7 @@ export class KernelService {
233233

234234
// If no active interpreter, just act like everything is okay as we can't find a new spec anyway
235235
return true;
236-
}
236+
};
237237

238238
private async addMatchingSpec(bestInterpreter: PythonInterpreter, cancelToken?: CancellationToken): Promise<void> {
239239
const displayName = localize.DataScience.historyTitle();
@@ -294,7 +294,7 @@ export class KernelService {
294294
return js && js.name === specName;
295295
}) as JupyterKernelSpec;
296296
return match ? match.specFile : undefined;
297-
}
297+
};
298298

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

385385
traceInfo(`Found kernelspec match ${bestSpec ? `${bestSpec.name}' '${bestSpec.path}` : 'undefined'}`);
386386
return bestSpec;
387-
}
387+
};
388388

389389
private enumerateSpecs = async (_cancelToken?: CancellationToken): Promise<JupyterKernelSpec[]> => {
390390
// Ignore errors if there are no kernels.
@@ -423,7 +423,7 @@ export class KernelService {
423423
// This is failing for some folks. In that case return nothing
424424
return [];
425425
}
426-
}
426+
};
427427
private async getInterpreterDetailsFromProcess(baseProcessName: string): Promise<PythonInterpreter | undefined> {
428428
if (path.basename(baseProcessName) !== baseProcessName) {
429429
// This function should only be called with a non qualified path. We're using this

0 commit comments

Comments
 (0)