ionic-team / ionic-team/ionic-cli

"Pubkey already added to Ionic." treated as OK even when adding from different account

未关闭
#4,286 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
appflow bug effort: low
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

This is only really an issue for a single person with multiple appflow accounts.

Repro:
1. Log into account A and add an ssh key (`ionic ssh add`)
1. Re-adding it from account A should be OK
1. Log into account B and add the same key
1. Re-adding it from account B should be an error (the "already added" message is incorrect for their account)

https://github.com/ionic-team/ionic-cli/blob/develop/packages/ionic/src/commands/ssh/add.ts#L90

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。