MCPcopy Index your code
hub / github.com/coder/mux / formatSubmoduleSyncError

Function formatSubmoduleSyncError

src/node/runtime/submoduleSync.ts:46–48  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

44}
45
46function formatSubmoduleSyncError(error: unknown): Error {
47 return new Error(`Failed to initialize git submodules: ${getErrorMessage(error)}`);
48}
49
50function formatGitmodulesProbeError(error: unknown): Error {
51 return new Error(`Failed to probe .gitmodules before submodule sync: ${getErrorMessage(error)}`);

Callers 1

Calls 1

getErrorMessageFunction · 0.90

Tested by

no test coverage detected