Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-static/react-static
/ shouldUseYarn
Function
shouldUseYarn
packages/react-static/src/commands/create.js:219–226 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
217
})
218
219
function
shouldUseYarn() {
220
try {
221
execSync(
'yarnpkg --version'
, { stdio:
'ignore'
})
222
return
true
223
} catch (e) {
224
return
false
225
}
226
}
Callers
1
create.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…