Remove debug code.
This commit is contained in:
parent
60d1177361
commit
a97dc7494f
|
@ -84,9 +84,6 @@ export class Main {
|
||||||
// on ready stuff...
|
// on ready stuff...
|
||||||
});
|
});
|
||||||
|
|
||||||
// app.commandLine.appendSwitch("ignore-certificate-errors");
|
|
||||||
// app.commandLine.appendSwitch("allow-insecure-localhost", "true");
|
|
||||||
|
|
||||||
if (appDataPath != null) {
|
if (appDataPath != null) {
|
||||||
app.setPath("userData", appDataPath);
|
app.setPath("userData", appDataPath);
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,10 +123,6 @@ export class DefaultConfigService implements ConfigService {
|
||||||
serverConfig: ServerConfig | null,
|
serverConfig: ServerConfig | null,
|
||||||
flag: Flag,
|
flag: Flag,
|
||||||
) {
|
) {
|
||||||
// if (flag == FeatureFlag.ExtensionRefresh) {
|
|
||||||
// return true as FeatureFlagValueType<Flag>;
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
|
if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
|
||||||
return DefaultFeatureFlagValue[flag];
|
return DefaultFeatureFlagValue[flag];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue