mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-22 01:05:02 +00:00
Fix last update/version in !about
This commit is contained in:
parent
dbd365768b
commit
1ad545f515
4 changed files with 25 additions and 5 deletions
9
backend/src/paths.ts
Normal file
9
backend/src/paths.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import path from "path";
|
||||
import pkgUp from "pkg-up";
|
||||
|
||||
const backendPackageJson = pkgUp.sync({
|
||||
cwd: __dirname,
|
||||
});
|
||||
|
||||
export const backendDir = path.dirname(backendPackageJson);
|
||||
export const rootDir = path.resolve(backendDir, "..");
|
Loading…
Add table
Add a link
Reference in a new issue