MCPcopy
hub / github.com/vuejs/core / getBranch

Function getBranch

scripts/release.js:369–371  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369async function getBranch() {
370 return (await exec('git', ['rev-parse', '--abbrev-ref', 'HEAD'])).stdout
371}
372
373/**
374 * @param {string} version

Callers 1

isInSyncWithRemoteFunction · 0.85

Calls 1

execFunction · 0.90

Tested by

no test coverage detected