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

Function execRead

scripts/release/utils.js:44–48  ·  view source on GitHub ↗
(command, options)

Source from the content-addressed store, hash-verified

42};
43
44const execRead = async (command, options) => {
45 const {stdout} = await exec(command, options);
46
47 return stdout.trim();
48};
49
50const extractCommitFromVersionNumber = version => {
51 // Support stable version format e.g. "0.0.0-0e526bcec-20210202"

Callers 2

getBuildInfoFunction · 0.70
getDateStringForCommitFunction · 0.70

Calls 1

execFunction · 0.85

Tested by

no test coverage detected