Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/capawesome-team/capacitor-plugins
/ execute
Function
execute
scripts/lib/cli.mjs:1–6 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
1
export
const
execute = (fn) => {
2
fn().catch((e) => {
3
console.error(e.stack ? e.stack : String(e));
4
process.exit(1);
5
});
6
};
Callers
1
publish-sponsorware.mjs
File · 0.90
Calls
1
error
Method · 0.65
Tested by
no test coverage detected