bktide
Version:
Command-line interface for Buildkite CI/CD workflows with rich shell completions (Fish, Bash, Zsh) and Alfred workflow integration for macOS power users
14 lines • 382 B
JavaScript
import { logger } from '../services/logger.js';
export class AbstractFormatter {
name;
constructor(name) {
this.name = name;
}
format(data, formatFn, options) {
if (options?.debug) {
logger.debug(`Formatting with ${this.name} formatter`);
}
return formatFn(data, options);
}
}
//# sourceMappingURL=BaseFormatter.js.map