MCPcopy Index your code
hub / github.com/react/react / hasGithubCLI

Function hasGithubCLI

scripts/devtools/prepare-release.js:134–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134async function hasGithubCLI() {
135 try {
136 await exec('which gh');
137 return true;
138 } catch (_) {}
139 return false;
140}
141
142async function getPreviousCommitSha() {
143 const choices = [];

Callers 1

getCommitLogFunction · 0.85

Calls 1

execFunction · 0.85

Tested by

no test coverage detected