mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Fix issues caused by @shared tsconfig path
This commit is contained in:
parent
53ed83b701
commit
9390b164d8
8 changed files with 56 additions and 18 deletions
|
@ -10,7 +10,7 @@ import path from "path";
|
|||
import { TokenError } from "passport-oauth2";
|
||||
import { PluginError } from "knub";
|
||||
|
||||
require("dotenv").config({ path: path.resolve(__dirname, "..", "..", "api.env") });
|
||||
require("dotenv").config({ path: path.resolve(process.cwd(), "api.env") });
|
||||
|
||||
function errorHandler(err) {
|
||||
console.error(err.stack || err); // tslint:disable-line:no-console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue