Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed Feb 14, 2017
1 parent faedc8e commit c1c5cbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -43,3 +43,4 @@ test/test_flow.js
dist
test/s3test.js
doc/
.DS_Store
10 changes: 5 additions & 5 deletions src/index.js
Expand Up @@ -31,11 +31,11 @@ export default class Hasoop {

/**
* use some param to create a sqoop rest api url.
*
* @param basicPath
* @param queryObject
* @param otherPath
* @returns {*}
* @param {Array} pathAndQuery - path and query
* @param {string} pathAndQuery[0] - basicPath
* @param {Object} pathAndQuery[1] - queryObject
* @param {Array<string>} otherPath - other paths
* @returns {urlObject} - formatted url object
*/
formatUrl ([basicPath, queryObject = {}], ...otherPath) {
_.set(queryObject, ['user.name'], this.userName)
Expand Down

0 comments on commit c1c5cbe

Please sign in to comment.