XciD's picture
XciD HF staff
initial commit
8969f81
raw history blame
No virus
257 Bytes
const rootDirFinder = function(): string {
let i = __dirname.split('/').findIndex((dir) => dir === 'transformer-autocomplete');
return __dirname.split('/').slice(0, i+1).join('/');
};
const __rootDir: string = rootDirFinder();
export default __rootDir;