Files
release-action/lib/PathNormalizer.js
2022-10-04 08:08:09 -04:00

14 lines
496 B
JavaScript

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PathNormalizer = void 0;
const path_1 = __importDefault(require("path"));
class PathNormalizer {
static normalizePath(pathString) {
return path_1.default.resolve(pathString).split(path_1.default.sep).join("/");
}
}
exports.PathNormalizer = PathNormalizer;