fix: refactor confidant.ts and add extra security feature in README

This commit is contained in:
2024-10-01 11:05:01 +05:30
parent 8acfc09ea5
commit 50d377d6bd
2 changed files with 3 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ import { $ } from "bun";
import chalk from "chalk-template";
import { Command } from "commander";
import { decrypt_vault, encrypt_vault, initialize, reset } from "./src/main";
import { existsSync, readdirSync } from "fs";
import checkForFiles, {
import { readdirSync } from "fs";
import {
Files,
getDecryptedName,
getDirectoryNames,
@@ -15,7 +15,6 @@ import checkForFiles, {
log,
panic,
} from "./src/utils";
import { randomBytes } from "crypto";
const program = new Command();
const { exit } = process;