Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const warn = function (warning) {
if (!warning) {
throw new Error('Warning is missing.');
}
buntstift.warn(warning);
};
const printTaskOmission = function (reason) {
if (!reason) {
throw new Error('Reason is missing.');
}
buntstift.line();
buntstift.warn(reason);
};