documentation/test/normalize.js
2015-12-06 18:01:55 -05:00

11 lines
245 B
JavaScript

var walk = require('../lib/walk');
module.exports = function (comments) {
return walk(comments, function (comment) {
delete comment.context.file;
if (comment.context.github) {
comment.context.github = '[github]';
}
});
};