UNPKG

411 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const debug_1 = require("./debug");
4function checkGitDirEnv() {
5 if (process.env.GIT_DIR) {
6 debug_1.debug(`GIT_DIR environment variable is set to ${process.env.GIT_DIR}`);
7 debug_1.debug(`If you're getting "fatal: not a git repository" errors, check GIT_DIR value`);
8 }
9}
10exports.checkGitDirEnv = checkGitDirEnv;