This commit is contained in:
Gorji
2021-06-03 08:36:23 +04:30
parent 80189f9972
commit 061c645544
29 changed files with 758 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _lodash = _interopRequireDefault(require("lodash"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = paths => {
return _lodash.default.sortBy(paths, path => {
return -path.split('/').length;
});
};
exports.default = _default;
//# sourceMappingURL=sortByDepth.js.map