website-auditfy
Version:
> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y
15 lines • 633 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PathUtils = void 0;
const node_path_1 = __importDefault(require("node:path"));
class PathUtils {
static getNormalizePath(filePath) {
const resolvePath = node_path_1.default.isAbsolute(filePath) ? filePath : node_path_1.default.resolve(process.cwd(), filePath);
return node_path_1.default.normalize(resolvePath);
}
}
exports.PathUtils = PathUtils;
//# sourceMappingURL=path.utils.js.map