UNPKG

@imduchuyyy/crypt-env

Version:

Secure environment manager with profile-based encrypted storage

11 lines (8 loc) 238 B
import { deleteProfileFile } from '../shared'; export function deleteProfile(profile: string) { if (profile === 'main') { console.log('Deleting the "main" profile is not allowed.'); return; } deleteProfileFile(profile); }