Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
logger.invariant = (condition, message, pass, fail) => {
logger('%s: %s', message, condition ? color.pass(pass) : color.fail(fail));
};