This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/husky/lib/checkGitDirEnv.js
2020-11-01 22:46:04 +00:00

11 lines
411 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const debug_1 = require("./debug");
function checkGitDirEnv() {
if (process.env.GIT_DIR) {
debug_1.debug(`GIT_DIR environment variable is set to ${process.env.GIT_DIR}`);
debug_1.debug(`If you're getting "fatal: not a git repository" errors, check GIT_DIR value`);
}
}
exports.checkGitDirEnv = checkGitDirEnv;