Files
2017-06-27 21:59:40 +10:00

11 lines
219 B
JavaScript

import Path from 'path';
export function pathBuilder(path, filename, type = 'file'){
let tmp = Path.resolve(path, filename)
if(type === 'file'){
return tmp;
}else{
return tmp + '/';
}
}