Skip to content

Commit

Permalink
Merge pull request #8 from blackflux/dev
Browse files Browse the repository at this point in the history
[Gally]: master <- dev
  • Loading branch information
simlu committed Aug 25, 2019
2 parents ff041b4 + 1354882 commit 05a5e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.generateDocs = generateDocs;

const syncDocs = (filePath, schema, stripDeprecated = true) => {
const result = generateDocs(schema, stripDeprecated);
const resultStr = stringify(result).split('\n');
const resultStr = stringify(result, { space: ' ' }).split('\n');
return fs.smartWrite(filePath, resultStr, { treatAs: 'txt' });
};
module.exports.syncDocs = syncDocs;

0 comments on commit 05a5e02

Please sign in to comment.