code: function(config) {
          var self = this;
  
          return new Promise(function(resolve, reject) {
              if (self._options.output) {
                  fs.writeFileAsync(self._options.output, config)
                      .then(function() {
                          resolve(config);
                      });
              } else {
                  resolve(config);
              }
          });
      }
docs: Saves the generated configuration file on the hard drive.
  
  @method _saveConfig
  @protected
  @param {Object} config The configuration object to be saved
  @return {Promise} Returns a Promise which will be resolved with the generated config file