Clean up infisical-node

This commit is contained in:
Tuan Dang
2023-03-15 14:03:39 +07:00
parent a6c8638345
commit b868b6a5f3
7 changed files with 70 additions and 30 deletions
+2 -5
View File
@@ -72,11 +72,8 @@ import {
} from './config';
const main = async () => {
// TODO 1: handle case of empty string token
// TODO 2: handle case of undefined token
const client = await infisical.connect({
token: process.env.INFISICAL_TOKEN!,
debug: true
await infisical.connect({
token: process.env.INFISICAL_TOKEN!
});
logTelemetryMessage();