mirror of
https://github.com/tenrok/axios.git
synced 2026-05-30 15:24:11 +03:00
Using more strict eslint rules
This commit is contained in:
@@ -11,7 +11,8 @@ var utils = require('./../utils');
|
||||
* @returns {*} The resulting transformed data
|
||||
*/
|
||||
module.exports = function transformData(data, headers, fns) {
|
||||
utils.forEach(fns, function (fn) {
|
||||
/*eslint no-param-reassign:0*/
|
||||
utils.forEach(fns, function transform(fn) {
|
||||
data = fn(data, headers);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user