Skip to content

Commit

Permalink
Fix strict null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Feb 5, 2019
1 parent 8ed7d8e commit 7c66f58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class TerminalConfigHelper implements ITerminalConfigHelper {
}
let envString: string | undefined;
if (envConfigValue.workspace) {
envString = `env: {${Object.keys(envConfigValue.workspace).map(k => `${k}:${envConfigValue.workspace[k]}`).join(', ')}}`;
envString = `env: {${Object.keys(envConfigValue.workspace).map(k => `${k}:${envConfigValue.workspace![k]}`).join(', ')}}`;
}
// Should not be localized as it's json-like syntax referencing settings keys
const workspaceConfigStrings: string[] = [];

This comment has been minimized.

Copy link
@vint34116

vint34116 May 7, 2019

const workspaceConfigStrings: string[] = [];

This comment has been minimized.

Copy link
@Tyriar

Tyriar May 7, 2019

Author Member

Yep? It's a const array, not a ReadonlyArray

Expand Down

0 comments on commit 7c66f58

Please sign in to comment.