mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
added more cli instructions
This commit is contained in:
@@ -75,7 +75,7 @@ export async function getConfigPath(filePath?: string) {
|
||||
const exts = ["", ".js", ".ts", ".mjs", ".cjs", ".json"];
|
||||
const paths = exts.map((e) => `bknd.config${e}`);
|
||||
for (const p of paths) {
|
||||
const _p = path.relative(process.cwd(), p);
|
||||
const _p = path.resolve(process.cwd(), p);
|
||||
if (await fileExists(_p)) {
|
||||
return _p;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user