Skip to content

Commit e8a157f

Browse files
committed
Format: apply linter formatting fixes
1 parent b027038 commit e8a157f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

src/managers/builtin/uvPythonInstaller.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
import { LogOutputChannel, ProgressLocation, ShellExecution, Task, TaskPanelKind, TaskRevealKind, TaskScope } from 'vscode';
1+
import {
2+
LogOutputChannel,
3+
ProgressLocation,
4+
ShellExecution,
5+
Task,
6+
TaskPanelKind,
7+
TaskRevealKind,
8+
TaskScope,
9+
} from 'vscode';
210
import { PythonEnvironmentApi } from '../../api';
311
import { spawnProcess } from '../../common/childProcess.apis';
412
import { UvInstallStrings } from '../../common/localize';

src/test/managers/builtin/uvPythonInstaller.unit.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,3 @@ suite('uvPythonInstaller - isDontAskAgainSet and clearDontAskAgain', () => {
172172
// NOTE: Installation functions (installUv, installPythonViaUv, installPythonWithUv) require
173173
// VS Code's Task API which cannot be fully mocked in unit tests.
174174
// These should be tested via integration tests in a real VS Code environment.
175-

src/test/mocks/vsc/extHostedTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ export class ShellExecution implements vscode.ShellExecution {
17071707
// }
17081708
// return hash.digest('hex');
17091709
// Return a simple unique ID based on command
1710-
const cmd = typeof this._command === 'string' ? this._command : this._command?.value ?? '';
1710+
const cmd = typeof this._command === 'string' ? this._command : (this._command?.value ?? '');
17111711
return `shell-${cmd}-${Date.now()}`;
17121712
}
17131713
}

0 commit comments

Comments
 (0)