You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { SANDBOX_CACHE } from "../constants/paths.js";
export default {
why: "pre-commit can't write its default ~/.cache/pre-commit; hooks built on go-re2, like betterleaks, read its compile cache; srt sets http.proxyAuthMethod=basic through GIT_CONFIG_PARAMETERS, which pre-commit strips before cloning hook repos; srt's proxy aborts git's default credential-less CONNECT",
env: {
PRE_COMMIT_HOME: `${SANDBOX_CACHE}/pre-commit`,
GIT_HTTP_PROXY_AUTHMETHOD: "basic",
},
filesystem: {
// Go's os.UserCacheDir() on macOS, which ignores XDG_CACHE_HOME