Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrow committed Aug 9, 2024
1 parent 9379b2e commit fe539d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Extension/src/LanguageServer/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export class CppSettings extends Settings {
}
}
public get defaultCompilerArgs(): string[] | undefined { return this.getArrayOfStringsWithUndefinedDefault("default.compilerArgs"); }
public get defaultCStandard(): string | undefined{ return this.getAsStringOrUndefined("default.cStandard"); }
public get defaultCStandard(): string | undefined { return this.getAsStringOrUndefined("default.cStandard"); }
public get defaultCppStandard(): string | undefined { return this.getAsStringOrUndefined("default.cppStandard"); }
public get defaultConfigurationProvider(): string | undefined { return changeBlankStringToUndefined(this.getAsStringOrUndefined("default.configurationProvider")); }
public get defaultMergeConfigurations(): boolean | undefined { return this.getAsBooleanOrUndefined("default.mergeConfigurations"); }
Expand Down Expand Up @@ -652,8 +652,6 @@ export class CppSettings extends Settings {
return setting.default as string[];
}



// Returns the value of a setting as an array of strings with proper type validation and checks for valid enum values.
private getAsArrayOfStrings(settingName: string, allowUndefinedEnums: boolean = false): string[] {
const value: any = super.Section.get(settingName);
Expand Down

0 comments on commit fe539d5

Please sign in to comment.