Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit cd2047c

Browse files
committed
Ran npm run prettier -- --write to format code to fix CI build error with npm run prettier -- --list-different
1 parent 3ec9339 commit cd2047c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class RLSConfiguration {
6262
configuration: WorkspaceConfiguration,
6363
): string {
6464
const channel = configuration.get<string>('rust-client.channel');
65-
if(channel === 'default' || !channel) {
65+
if (channel === 'default' || !channel) {
6666
try {
6767
return getActiveChannel(wsPath, rustupConfiguration);
6868
} catch (e) {

src/rustup.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ export function getActiveChannel(wsPath: string, config: RustupConfig): string {
273273
activeChannel = parseActiveToolchain(showOutput);
274274
}
275275

276-
console.info(
277-
`Using active channel: ${activeChannel}`,
278-
);
276+
console.info(`Using active channel: ${activeChannel}`);
279277
return activeChannel;
280278
}

0 commit comments

Comments
 (0)