cleanup (structure): update code structure

This commit is contained in:
Mickael KERJEAN
2017-06-27 17:50:27 +10:00
parent 58de01a16c
commit 0b5137846c
49 changed files with 4 additions and 7 deletions

10
client/utilities/path.js Normal file
View File

@ -0,0 +1,10 @@
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 + '/';
}
}