Updates
This commit is contained in:
parent
d98deb06c5
commit
901492f5e2
@ -4,7 +4,10 @@ const fs = require("fs");
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
const grabAuthDirs = () => {
|
const grabAuthDirs = () => {
|
||||||
const ROOT_DIR = path.resolve(process.cwd(), "./.tmp");
|
const DSQL_AUTH_DIR = process.env.DSQL_AUTH_DIR;
|
||||||
|
const ROOT_DIR = DSQL_AUTH_DIR?.match(/./)
|
||||||
|
? DSQL_AUTH_DIR
|
||||||
|
: path.resolve(process.cwd(), "./.tmp");
|
||||||
const AUTH_DIR = path.join(ROOT_DIR, "logins");
|
const AUTH_DIR = path.join(ROOT_DIR, "logins");
|
||||||
|
|
||||||
return { root: ROOT_DIR, auth: AUTH_DIR };
|
return { root: ROOT_DIR, auth: AUTH_DIR };
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/datasquirel",
|
"name": "@moduletrace/datasquirel",
|
||||||
"version": "3.1.1",
|
"version": "3.1.2",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
Reference in New Issue
Block a user