Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
zapier convert: Use plural naming to indicate list
Browse files Browse the repository at this point in the history
  • Loading branch information
eliangcs committed Nov 17, 2017
1 parent 73e2c37 commit 990f1c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ ${padding}}`;
};

const renderFields = (fields, indent = 0) => {
const result = [];
const results = [];
_.each(fields, (field, key) => {
result.push(renderField(field, key, indent));
results.push(renderField(field, key, indent));
});
return result.join(',\n');
return results.join(',\n');
};

const renderSampleField = (def) => {
Expand Down

0 comments on commit 990f1c9

Please sign in to comment.