UNPKG

@conarti/eslint-plugin-feature-sliced

Version:
13 lines (12 loc) 560 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.joinPath = void 0; const path_1 = __importDefault(require("path")); const normalize_path_1 = require("./normalize-path"); function joinPath(from, to) { return (0, normalize_path_1.normalizePath)(path_1.default.join((0, normalize_path_1.normalizePath)(from), (0, normalize_path_1.normalizePath)(to))); } exports.joinPath = joinPath;