Skip to content
Snippets Groups Projects
Select Git revision
  • 88d10ca5d2084f94f70c51664b210156139fb8da
  • main default protected
  • jw_sonar
  • v6.0.0 protected
  • interactive-mode-preference
  • bedran_exercise-list
  • add_route_user
  • Jw_sonar_backup
  • exercise_list_filter
  • assignment_filter
  • add_route_assignments
  • move-to-esm-only
  • 6.0.0-dev
  • Pre-alpha
  • 5.0.0
  • Latest
  • 4.2.0
  • 4.1.1
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.5.0
  • 3.4.2
  • 3.4.1
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.1
32 results

Config.ts

Blame
  • Config.ts 343 B
    import getAppDataPath from 'appdata-path';
    
    
    class Config {
        public readonly localConfig: {
            folder: string; file: string;
        };
    
        constructor() {
            this.localConfig = {
                folder: getAppDataPath('DojoCLI'),
                file  : process.env.LOCAL_CONFIG_FILE || ''
            };
        }
    }
    
    
    export default new Config();