assassin-bug/framework/asset-manager/utils.js

9 lines
157 B
JavaScript
Raw Normal View History

2022-11-26 01:22:02 +00:00
export function buildPath(basePath, path) {
if (!basePath) {
return path;
}
else {
return `${basePath}/${path}`;
}
}