@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
13 lines • 629 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLockfileImporterId = void 0;
const path_1 = __importDefault(require("path"));
const normalize_path_1 = __importDefault(require("normalize-path"));
function getLockfileImporterId(lockfileDir, prefix) {
return (0, normalize_path_1.default)(path_1.default.relative(lockfileDir, prefix)) || '.';
}
exports.getLockfileImporterId = getLockfileImporterId;
//# sourceMappingURL=getLockfileImporterId.js.map