Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
command.push(opt.from + "..." + opt.to);
}
if (opt.file) {
command.push("--follow", options.file);
}
if (opt.n || opt['max-count']) {
command.push("--max-count=" + (opt.n || opt['max-count']));
}
'splitter n max-count file from to --pretty format'.split(' ').forEach(function (key) {
delete opt[key];
});
Git._appendOptions(command, opt);
return this._run(command, function (err, data) {
handler && handler(err, !err && ListLogSummary.parse(data, splitter, fields));
});
};