MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / git

Function git

bin/checkout-pr.js:118–124  ·  view source on GitHub ↗

* Run `git` command with the arguments * @param {...string[]} args - Git args

(...args)

Source from the content-addressed store, hash-verified

116 * @param {...string[]} args - Git args
117 */
118async function git(...args) {
119 console.log('> git', ...args);
120 const shell = build.runShell('git', args, {
121 cwd: ROOT_DIR,
122 });
123 await waitForProcessExit(shell);
124}
125
126/**
127 * Return a promise to be resolved by the child process exit event

Callers 1

checkoutPRFunction · 0.70

Calls 2

waitForProcessExitFunction · 0.70
logMethod · 0.65

Tested by

no test coverage detected