fix: remove unused variable in SshKeyGen
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 3m1s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 3m1s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8565f11c11
commit
99f46a2163
@ -78,7 +78,6 @@ function saveFile(content: string, filename: string): void {
|
|||||||
|
|
||||||
function savePrivateKey(): void {
|
function savePrivateKey(): void {
|
||||||
if (!key.value) return;
|
if (!key.value) return;
|
||||||
const name = comment.value || "wraith_key";
|
|
||||||
const ext = key.value.keyType === "ed25519" ? "id_ed25519" : "id_rsa";
|
const ext = key.value.keyType === "ed25519" ? "id_ed25519" : "id_rsa";
|
||||||
saveFile(key.value.privateKey, ext);
|
saveFile(key.value.privateKey, ext);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user