From 377cc344a914de0642bd7c9dbd809675ef7d5b34 Mon Sep 17 00:00:00 2001 From: phukon Date: Wed, 15 Jan 2025 02:22:30 +0530 Subject: [PATCH] fix: correct typo in README and ensure async key import handling --- README.md | 2 +- bin/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57e52e1..4ba4000 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ gitkeykit import my_key.txt gitkeykit --reset # Show version number -gitkeykit --verion +gitkeykit --version # Display help information and available commands gitkeykit --help diff --git a/bin/index.ts b/bin/index.ts index bcad599..d461a26 100644 --- a/bin/index.ts +++ b/bin/index.ts @@ -40,7 +40,7 @@ function usage() { async function handleImport(keyPath: string): Promise { try { - importKey(keyPath); + await importKey(keyPath); logger.log(`Imported key from ${keyPath}`); await start(); } catch (error) {