Commit graph

20 commits

Author SHA1 Message Date
Caleb Brose
d8b06ae8af Add check to -i short circuit for the automatic key 2022-08-16 10:15:43 -05:00
Caleb Brose
d410830f7f Handle comment in local ssh key 2022-08-09 11:11:11 -05:00
Caleb Brose
cb914c1873 Cleanup extra param, array declaration 2022-08-09 10:16:24 -05:00
Caleb Brose
0d9b2bf4ce SHort circuit api check if auto keys exist 2022-08-05 18:24:36 +00:00
Caleb Brose
5212fc8d5b Error handling 2022-08-03 15:26:00 +00:00
Caleb Brose
b6c469518f Linter 2022-08-02 21:53:17 +00:00
Caleb Brose
894b553b78 Add a couple more scenarios 2022-08-02 21:39:33 +00:00
Caleb Brose
d3d72dd820 Add test for hasUploadedPublicKeyForConfig 2022-08-02 21:37:02 +00:00
Caleb Brose
88b28c5228 Fix api mock 2022-08-02 20:57:52 +00:00
cmbrose
b2fe329011 Close files to actually fix windows 2022-06-29 12:28:21 -05:00
Caleb Brose
4eac4fbf4c Make a new dir per test to work around windows failures 2022-06-29 11:48:23 -05:00
Caleb Brose
b5348f661e Handle case of partial name match 2022-06-29 11:36:27 -05:00
Caleb Brose
1aa457499d Use Fatal instead to avoid nil-ref 2022-06-29 11:27:18 -05:00
Caleb Brose
fb4ad53dd0 Check MkdirAll error 2022-06-29 11:17:24 -05:00
Caleb Brose
c5b07762d1 Check the key paths too 2022-06-29 10:51:17 -05:00
Caleb Brose
19b5400811 Handle back compat 2022-06-29 10:46:44 -05:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
Charlie Andrews
64eecef176 Remove unhelpful error wrapper 2022-03-16 09:36:14 -04:00
Charlie Andrews
8bf0cb8f13 Refactor the getOrChooseCodespace to always check for pending ops 2022-03-16 08:56:17 -04:00
Charlie Andrews
27a5512b41 Add test for disallowing ssh when codespace has a pending op 2022-03-15 17:27:38 -04:00