Skip to content

Commit a5a153b

Browse files
committed
fix: correct typos in comments and error messages
Fixes four spelling mistakes in comments and one error string: - configSettings.ts: 'propogate' -> 'propagate' - condaInheritEnvPrompt.ts: 'intialize' -> 'initialize' - condaService.ts: 'wether' -> 'whether' - testBootstrap.ts: 'succesfully' -> 'successfully'
1 parent a9759d1 commit a5a153b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/client/common/configSettings.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ export class PythonSettings implements IPythonSettings {
390390
this.experiments = experiments;
391391
}
392392
// Note we directly access experiment settings using workspace service in ExperimentService class.
393-
// Any changes here specific to these settings should propogate their as well.
393+
// Any changes here specific to these settings should propagate their as well.
394394
this.experiments = this.experiments
395395
? this.experiments
396396
: {

‎src/client/interpreter/virtualEnvs/condaInheritEnvPrompt.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class CondaInheritEnvPrompt implements IExtensionActivationService {
3333
this.initializeInBackground(resource).ignoreErrors();
3434
}
3535

36-
@traceDecoratorError('Failed to intialize conda inherit env prompt')
36+
@traceDecoratorError('Failed to initialize conda inherit env prompt')
3737
public async initializeInBackground(resource: Uri): Promise<void> {
3838
const show = await this.shouldShowPrompt(resource);
3939
if (!show) {

‎src/client/pythonEnvironments/common/environmentManagers/condaService.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class CondaService implements ICondaService {
5454
}
5555
}
5656

57-
return { path: activatePath, type: 'local' }; // return the default activate script wether it exists or not.
57+
return { path: activatePath, type: 'local' }; // return the default activate script whether it exists or not.
5858
}
5959

6060
/**

‎src/client/repl/replCommandHandler.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function openInteractiveREPL(
3737
viewColumn = existingReplViewColumn ?? viewColumn;
3838
alreadyExists = true;
3939
} else if (!notebookDocument) {
40-
// Case where NotebookDocument doesnt exist, or
40+
// Case where NotebookDocument doesn't exist, or
4141
// became outdated (untitled.ipynb created without Python extension knowing, effectively taking over original Python REPL's URI)
4242
notebookDocument = await openNotebookDocument('jupyter-notebook');
4343
}

‎src/test/testBootstrap.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Final solution:
2929
* Send a message to the socket server with a flag (true/false whether tests passed/failed)
3030
* Socket server (main procecss) will receive the test status flag.
3131
* This will kill the spawned process
32-
* This main process will kill itself with exit code 0 if tests pass succesfully, else 1.
32+
* This main process will kill itself with exit code 0 if tests pass successfully, else 1.
3333
*/
3434

3535
const testFile = process.argv[2];

0 commit comments

Comments
 (0)