10 lines
287 B
TypeScript
10 lines
287 B
TypeScript
import path from "path";
|
|
|
|
export default function grabDirNames() {
|
|
const rootDir = process.cwd();
|
|
const syncConfigFileName = "__trsyc.json";
|
|
const syncConfigFilePath = path.join(rootDir, syncConfigFileName);
|
|
|
|
return { rootDir, syncConfigFileName, syncConfigFilePath };
|
|
}
|