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

Function printSummary

scripts/release/download-experimental-build.js:38–54  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

36}).argv;
37
38function printSummary(commit) {
39 const commandPath = relative(
40 process.env.PWD,
41 join(__dirname, '../download-experimental-build.js')
42 );
43
44 clear();
45
46 const message = theme`
47 {caution An experimental build has been downloaded!}
48
49 You can download this build again by running:
50 {path ${commandPath}} --commit={commit ${commit}}
51 `;
52
53 console.log(message.replace(/\n +/g, '\n').trim());
54}
55
56const main = async () => {
57 const {commit, releaseChannel, noVerify} = argv;

Callers 1

mainFunction · 0.85

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected