mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 01:25:38 -05:00
Enable no-unsafe-assignments for MSSQL (#23407)
* Enable no-unsafe-assignments for MSSQL * Remove toString
This commit is contained in:
@@ -132,7 +132,7 @@ export class SqlToolsServer {
|
||||
private async download(context: AppContext): Promise<string> {
|
||||
const configDir = context.extensionContext.extensionPath;
|
||||
const rawConfig = await fs.readFile(path.join(configDir, 'config.json'));
|
||||
this.config = JSON.parse(rawConfig.toString());
|
||||
this.config = JSON.parse(rawConfig.toString()) as IConfig;
|
||||
this.config.installDirectory = path.join(configDir, this.config.installDirectory);
|
||||
this.config.proxy = vscode.workspace.getConfiguration('http').get<string>('proxy', '');
|
||||
this.config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL', true);
|
||||
|
||||
Reference in New Issue
Block a user