Skip to content

Commit

Permalink
feat: use path-browserify instead of builtin path.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonKrone committed Apr 25, 2018
1 parent cf4241d commit ce7e71a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion add-on/src/lib/ipfs-proxy/pre-mfs-scope.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const Path = require('path').posix
// Use path-browserify for consistent behavior between browser and tests on windows
const Path = require('path-browserify')
const DEFAULT_ROOT_PATH = '/dapps'

// Creates a "pre" function that is called prior to calling a real function
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"lru_map": "0.3.3",
"mime-types": "2.1.18",
"p-queue": "2.4.0",
"path-browserify": "0.0.0",
"piggybacker": "2.0.0",
"prundupify": "1.0.0",
"tachyons": "4.9.1",
Expand Down

0 comments on commit ce7e71a

Please sign in to comment.