checkGitDirEnv.js 411 B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const debug_1 = require("./debug");
  4. function 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. }
  10. exports.checkGitDirEnv = checkGitDirEnv;