   ###*
    * Enriches project credentials if client_id or client_secret are missing.
    *
-   * @returns Credentials have fiollowing structure: {project_key: 'key', client_id: 'foo', client_secret: 'bar'}
+   * @returns Credentials have following structure: {project_key: 'key', client_id: 'foo', client_secret: 'bar'}
   ###
   getCredentials: (credentials) ->
     if credentials.client_id? and credentials.client_secret?

  ###*
   * Returns project credentials for the project key.
   *
   * @returns Credentials have fiollowing structure: {project_key: 'key', client_id: 'foo', client_secret: 'bar'}
  ###
  getCredentialsForProjectKey: (key) ->
    @getCredentials


  _normalizePath: (path) ->
    if not path? or _.isBlank(path)
      throw new Error('Path is empty!')

    path.replace "~", @_getUserHome()

