UNPKG

@donedeal0/codefather

Version:

Codefather protects your codebase by controlling who can change what. Set authorization levels, lock down files, and enforce your rules—offline via CLI or online with GitHub Actions.

1 lines • 455 B
var i=(r=>(r.Success="success",r.MultiSuccess="multi-success",r.Error="error",r.MultiErrors="multi-errors",r.Warning="warning",r.NoChanges="no-changes",r.NotFound="not-found",r.NoGitConfig="no-gitconfig",r))(i||{}),n={success:"\x1B[32m",error:"\x1B[31m",warning:"\x1B[33m",info:"\x1B[37m"};function c(o){try{return JSON.parse(o)}catch{throw new Error("Your JSON file is invalid. You gotta respect the rules if you want my help.")}}export{i as a,n as b,c};