SpaceNinjaServer/src/helpers/pathHelper.ts
Sainan bf67a4391d
All checks were successful
Build / build (22) (push) Successful in 1m5s
Build Docker image / docker (push) Successful in 31s
Build / build (20) (push) Successful in 35s
Build / build (18) (push) Successful in 1m10s
feat: eleanor weapon offerings (#1419)
Need to do rotating offers for her some other time

Reviewed-on: #1419
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 15:49:08 -07:00

5 lines
175 B
TypeScript

import path from "path";
export const rootDir = path.join(__dirname, "../..");
export const repoDir = path.basename(rootDir) == "build" ? path.join(rootDir, "..") : rootDir;