Skip to content

Commit

Permalink
Fixing typo in comment blocks of createError() and enhanceError() fun…
Browse files Browse the repository at this point in the history
…ctions (#857)
  • Loading branch information
martinjoiner authored and rubennorte committed May 28, 2017
1 parent f31317a commit 1beb245
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/axios.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/core/createError.js
Expand Up @@ -8,8 +8,8 @@ var enhanceError = require('./enhanceError');
* @param {string} message The error message.
* @param {Object} config The config.
* @param {string} [code] The error code (for example, 'ECONNABORTED').
@ @param {Object} [request] The request.
@ @param {Object} [response] The response.
* @param {Object} [request] The request.
* @param {Object} [response] The response.
* @returns {Error} The created error.
*/
module.exports = function createError(message, config, code, request, response) {
Expand Down
4 changes: 2 additions & 2 deletions lib/core/enhanceError.js
Expand Up @@ -6,8 +6,8 @@
* @param {Error} error The error to update.
* @param {Object} config The config.
* @param {string} [code] The error code (for example, 'ECONNABORTED').
@ @param {Object} [request] The request.
@ @param {Object} [response] The response.
* @param {Object} [request] The request.
* @param {Object} [response] The response.
* @returns {Error} The error.
*/
module.exports = function enhanceError(error, config, code, request, response) {
Expand Down

0 comments on commit 1beb245

Please sign in to comment.