mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
Messages panel wordwrap (#10970)
* Add CodeQL Analysis workflow (#10195) * Add CodeQL Analysis workflow * Fix path * fix word wrap support in the message panel * fix width on message treee * fix import * fix settings editor to reflect the changes in the settings ids * fix tests * add configuration upgrader * make sure to maintian execution order * make the compiler happy * add tests for upgrader Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
@@ -8,10 +8,14 @@ import { getConfigurationKeys, IConfigurationOverrides, IConfigurationService, g
|
||||
export class TestConfigurationService implements IConfigurationService {
|
||||
public _serviceBrand: undefined;
|
||||
|
||||
private configuration: { user: { [key: string]: any }; workspace: { [key: string]: any } } = {
|
||||
private configuration: { user?: { [key: string]: any }; workspace?: { [key: string]: any } };
|
||||
|
||||
constructor(configuration: { user?: { [key: string]: any }; workspace?: { [key: string]: any } } = {
|
||||
user: {},
|
||||
workspace: {}
|
||||
};
|
||||
}) {
|
||||
this.configuration = configuration;
|
||||
}
|
||||
|
||||
public reloadConfiguration<T>(): Promise<T> {
|
||||
return Promise.resolve(this.getValue());
|
||||
|
||||
Reference in New Issue
Block a user