Skip to content

Commit

Permalink
Fix for #516
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Powell authored and shanalikhan committed Mar 24, 2018
1 parent 9f43163 commit 82b05eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,8 @@ export async function activate(context: vscode.ExtensionContext) {
let config = vscode.workspace.getConfiguration();
let keysDefined: Array<string> = Object.keys(customSettings.replaceCodeSettings);
keysDefined.forEach((key: string, index: number) => {
let c: string = undefined;
let value: string = customSettings.replaceCodeSettings[key];
value == "" ? c == undefined : c = value;
let c: any = value === "" ? undefined : value;
config.update(key, c, true);
});
}
Expand Down

0 comments on commit 82b05eb

Please sign in to comment.