lepu-test-platform-web/node_modules/webpack-dev-middleware/lib/PathJoin.js

6 lines
106 B
JavaScript

function pathJoin(a, b) {
return a == "/" ? "/" + b : (a || "") + "/" + b;
}
module.exports = pathJoin;