documentation/test/normalize.js
2015-10-13 16:15:44 -07:00

11 lines
244 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]';
}
});
}