mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 18:22:34 -05:00
More MSSQL strict null (#22402)
This commit is contained in:
@@ -51,7 +51,7 @@ export class SqlToolsServer {
|
||||
private client: SqlOpsDataClient;
|
||||
private config: IConfig;
|
||||
private disposables = new Array<{ dispose: () => void }>();
|
||||
public installDirectory: string | undefined = undefined;
|
||||
public installDirectory: string;
|
||||
|
||||
public async start(context: AppContext): Promise<SqlOpsDataClient> {
|
||||
try {
|
||||
@@ -134,7 +134,7 @@ export class SqlToolsServer {
|
||||
const rawConfig = await fs.readFile(path.join(configDir, 'config.json'));
|
||||
this.config = JSON.parse(rawConfig.toString());
|
||||
this.config.installDirectory = path.join(configDir, this.config.installDirectory);
|
||||
this.config.proxy = vscode.workspace.getConfiguration('http').get('proxy');
|
||||
this.config.proxy = vscode.workspace.getConfiguration('http').get<string>('proxy', '');
|
||||
this.config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL', true);
|
||||
return getOrDownloadServer(this.config, handleServerProviderEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user