npmci/dist/npmci.env.js

12 lines
873 B
JavaScript
Raw Permalink Normal View History

2016-06-02 15:57:01 +00:00
"use strict";
2017-03-11 00:10:37 +00:00
Object.defineProperty(exports, "__esModule", { value: true });
2016-07-18 14:56:53 +00:00
const smartstring_1 = require("smartstring");
2017-09-08 21:16:09 +00:00
/**
* a info instance about the git respoitory at cwd :)
*/
let repoString = process.env.CI_REPOSITORY_URL;
if (!repoString) {
repoString = 'https://undefined:undefined@github.com/undefined/undefined.git';
2017-05-18 20:40:09 +00:00
}
2017-09-08 21:16:09 +00:00
exports.repo = new smartstring_1.GitRepo(repoString);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsNkNBQXFDO0FBR3JDOztHQUVHO0FBQ0gsSUFBSSxVQUFVLEdBQVcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQTtBQUN0RCxFQUFFLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUM7SUFDaEIsVUFBVSxHQUFHLGdFQUFnRSxDQUFBO0FBQy9FLENBQUM7QUFDVSxRQUFBLElBQUksR0FBRyxJQUFJLHFCQUFPLENBQUMsVUFBVSxDQUFDLENBQUEifQ==