UNPKG

sda

Version:

Software development assistant

20 lines 697 B
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; Object.defineProperty(exports, "__esModule", { value: true }); const path = __importStar(require("path")); function getAbsolutePath(testPath, baseAbsolutePath) { if (!path.isAbsolute(testPath)) { return path.join(baseAbsolutePath, testPath); } else { return testPath; } } exports.default = getAbsolutePath; //# sourceMappingURL=getAbsolutePath.js.map