MCPcopy Create free account
hub / github.com/dabit3/react-native-ai / isYarnInstalled

Function isYarnInstalled

cli/cli.js:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17const repoUrl = 'https://github.com/dabit3/react-native-ai.git'
18
19const isYarnInstalled = () => {
20 try {
21 childProcess.execSync('yarn --version');
22 return true;
23 } catch {
24 return false;
25 }
26}
27
28const isBunInstalled = () => {
29 try {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected