Skip to content

Commit 00b57d3

Browse files
authored
fix: add warning before spawning gpg (#986)
1 parent 24ecaa3 commit 00b57d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export function getConfig(configType, dir) {
2929
const configPath = getConfigPath(configType, dir);
3030
const encryptedConfigPath = configPath + '.gpg';
3131
if (existsSync(encryptedConfigPath)) {
32+
console.warn('Encrypted config detected, spawning gpg to decrypt it...');
3233
const { status, stdout } =
3334
spawnSync('gpg', ['--decrypt', encryptedConfigPath]);
3435
if (status === 0) {

0 commit comments

Comments
 (0)