MCPcopy Create free account
hub / github.com/blockmatic/basilic / checkCurlAvailable

Function checkCurlAvailable

scripts/setup-database.mjs:124–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124function checkCurlAvailable() {
125 try {
126 execSync('which curl', { stdio: 'ignore' })
127 return true
128 } catch {
129 return false
130 }
131}
132
133function getLatestVersion(repo) {
134 if (!checkCurlAvailable()) {

Callers 2

getLatestVersionFunction · 0.70
installSupabaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected