'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toString2 = require('lodash/toString'); var _toString3 = _interopRequireDefault(_toString2); exports.normalizePath = normalizePath; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /*----------------------------------------------------------------------------*/ /** * Normalizes `pkgPath` by converting path separators to forward slashes. * * @static * @memberOf util * @param {string} [pkgPath=''] The package path to normalize. * @returns {string} Returns the normalized package path. */ function normalizePath(pkgPath) { return (0, _toString3.default)(pkgPath).replace(/\\/g, '/'); };