fmt(js): `npm run fix` on merge (#67749)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
2f6a4e099b
commit
57063ad47f
|
|
@ -10,8 +10,8 @@ import {
|
|||
buildPosixPinArgs,
|
||||
cachedScriptPath,
|
||||
hasExistingGitCheckout,
|
||||
installRefForStamp,
|
||||
installedAgentInstallScript,
|
||||
installRefForStamp,
|
||||
isPinnedCommit,
|
||||
resolveInstallScript,
|
||||
resolveMarkerPinnedCommit,
|
||||
|
|
@ -160,6 +160,7 @@ test('resolveInstallScript downloads fallback stamps by branch instead of zero c
|
|||
try {
|
||||
const logs = []
|
||||
const refs = []
|
||||
|
||||
const result = await resolveInstallScript({
|
||||
installStamp: { commit: ZERO_COMMIT, branch: 'main' },
|
||||
sourceRepoRoot: null,
|
||||
|
|
|
|||
|
|
@ -58,10 +58,7 @@ type ResolveHeadFn = (activeRoot: string | null | undefined) => string | null
|
|||
* (all-zero) install stamps still produce a marker that
|
||||
* isBootstrapComplete() accepts (pinnedCommit length >= 7).
|
||||
*/
|
||||
function resolveCheckoutHead(
|
||||
activeRoot: string | null | undefined,
|
||||
opts: { execGit?: ExecGitFn } = {}
|
||||
): string | null {
|
||||
function resolveCheckoutHead(activeRoot: string | null | undefined, opts: { execGit?: ExecGitFn } = {}): string | null {
|
||||
if (!activeRoot) {
|
||||
return null
|
||||
}
|
||||
|
|
@ -1027,8 +1024,8 @@ export {
|
|||
buildPosixPinArgs,
|
||||
cachedScriptPath,
|
||||
hasExistingGitCheckout,
|
||||
installRefForStamp,
|
||||
installedAgentInstallScript,
|
||||
installRefForStamp,
|
||||
isPinnedCommit,
|
||||
// Exposed for testability
|
||||
parseStageResult,
|
||||
|
|
|
|||
Loading…
Reference in New Issue