setup-kubectl/node_modules/ts-jest/dist/utils/get-package-version.js
github-actions[bot] 7f7e5ba5ea
Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-21 12:18:30 -04:00

11 lines
313 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPackageVersion = void 0;
function getPackageVersion(moduleName) {
try {
return require(moduleName + "/package.json").version;
}
catch (err) { }
return;
}
exports.getPackageVersion = getPackageVersion;