Skip to content

Commit

Permalink
fix(itkJSPost): Add missing path import
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jun 7, 2023
1 parent 6fc3f7b commit d5fa8f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emscripten-module/itkJSPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Module.mountDir = function (dir) {
}

var currentDir = '/'
var path = require('path')
var splitDir = dir.split(path.sep)
for (var ii = 1; ii < splitDir.length; ii++) {
currentDir += splitDir[ii]
Expand Down

0 comments on commit d5fa8f0

Please sign in to comment.