mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
updated turso cli configs
This commit is contained in:
@@ -12,7 +12,6 @@ export async function isTursoInstalled() {
|
|||||||
export async function isTursoLoggedIn() {
|
export async function isTursoLoggedIn() {
|
||||||
try {
|
try {
|
||||||
const output = await execa("turso", ["auth", "whoami"]);
|
const output = await execa("turso", ["auth", "whoami"]);
|
||||||
console.log(output.stdout.includes("You are not logged in"));
|
|
||||||
return !output.stdout.includes("You are not logged in");
|
return !output.stdout.includes("You are not logged in");
|
||||||
} catch {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user