const {SafeString} = require('../services/handlebars'); const {labs} = require('../services/proxy'); function commentCount(options) { return new SafeString(` ${options.fn(this)} ` ); } module.exports = async function commentsLabsWrapper() { const self = this; const args = arguments; return labs.enabledHelper({ flagKey: 'comments', flagName: 'Comments', helperName: 'comments' }, () => { return commentCount.apply(self, args); }); }; module.exports.async = true;