Skip to content
Snippets Groups Projects
Commit aa99d29d authored by michael.minelli's avatar michael.minelli
Browse files

Rename LocalConfigFile

parent ec7cbb82
Branches
Tags
No related merge requests found
......@@ -7,7 +7,10 @@ import JSON5 from 'json5';
import ClientsSharedConfig from '../sharedByClients/config/ClientsSharedConfig';
class LocalConfig {
class LocalConfigFile {
constructor(private filename: string) {}
private get configPath(): string {
return `${ Config.localConfig.folder }/${ Config.localConfig.file }`;
}
......@@ -28,7 +31,7 @@ class LocalConfig {
SessionManager.token = this._config[LocalConfigKeys.API_TOKEN][ClientsSharedConfig.apiURL];
}
GitlabManager.token = this._config[LocalConfigKeys.GITLAB_PERSONAL_TOKEN];
GitlabManager.config = this._config[LocalConfigKeys.GITLAB];
} catch ( error ) {
console.log(error);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment