Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: function sumarize(key, rate) {
var full = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
var tasks = this.search(key);
tasks.sort(function (a, b) {
return a.name > b.name;
});
(0, _output.sumarize)(key, tasks, rate, full, this.config['format.output']);
}
}]);
sumarize(key, rate, full = true) {
let tasks = this.search(key)
tasks.sort((a, b) => {
return a.name > b.name
})
sumarize(key, tasks, rate, full, this.config['format.output'])
}
}