MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / exit

Function exit

tooling/publish/publish.ts:47–53  ·  view source on GitHub ↗
(message: string, error?: unknown)

Source from the content-addressed store, hash-verified

45};
46
47const exit = (message: string, error?: unknown) => {
48 console.error(`\n\n❌ ${message}`);
49 if (error) {
50 console.error('Error:', error);
51 }
52 process.exit(1);
53};
54
55const checkUncommittedChanges = () => {
56 try {

Callers 2

checkUncommittedChangesFunction · 0.70
mainFunction · 0.70

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected