Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Avoid named export of potentially deprecated path._makeLong().
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Apr 14, 2019
1 parent a48ba8a commit 458713d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/path/to-namespaced-path.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { _makeLong, toNamespacedPath } from "../safe/path.js"
import safePath, { toNamespacedPath } from "../safe/path.js"

import shared from "../shared.js"

function init() {
return typeof toNamespacedPath === "function"
? toNamespacedPath
: _makeLong
: safePath._makeLong
}

export default shared.inited
Expand Down
1 change: 0 additions & 1 deletion src/safe/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const safePath = shared.inited
: shared.module.safePath = safe(realPath)

export const {
_makeLong,
basename,
delimiter,
dirname,
Expand Down

0 comments on commit 458713d

Please sign in to comment.