From 93506e25e90306e9145612ecc144cc4b88941b87 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 4 Oct 2025 14:02:36 +0200 Subject: [PATCH] fix: add warning before spawning `gpg` --- lib/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config.js b/lib/config.js index a6ecf322..6703ec87 100644 --- a/lib/config.js +++ b/lib/config.js @@ -29,6 +29,7 @@ export function getConfig(configType, dir) { const configPath = getConfigPath(configType, dir); const encryptedConfigPath = configPath + '.gpg'; if (existsSync(encryptedConfigPath)) { + console.warn('Encrypted config detected, spawning gpg to decrypt it...'); const { status, stdout } = spawnSync('gpg', ['--decrypt', encryptedConfigPath]); if (status === 0) {