async load() {
    if (this.__settings) {
      return this.__settings;
    }
    try {
      const data = await this._restoreFile(this.settingsFile);
      return this._processSettings(data);
    } catch (e) {
      log.warn(e);
      return this._processSettings();
    }
  }
/**
   * Loads current settings from settings file.
   *
   * @return {Promise} Promise resolved to a settings file.
   */
Loads current settings from settings file.
@return {Promise} Promise resolved to a settings file.
Loads current settings from settings file . @return { Promise } Promise resolved to a settings file .
async load() {
    if (this.__settings) {
      return this.__settings;
    }
    try {
      const data = await this._restoreFile(this.settingsFile);
      return this._processSettings(data);
    } catch (e) {
      log.warn(e);
      return this._processSettings();
    }
  }
async load ( ) { if ( this . __settings ) { return this . __settings ; } try { const data = await this . _restoreFile ( this . settingsFile ) ; return this . _processSettings ( data ) ; } catch ( e ) { log . warn ( e ) ; return this . _processSettings ( ) ; } }
Loads current settings from settings file.
Loads current settings from settings file .