mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-04-24 23:12:13 +00:00
Add capital letters as acceptable characters in key matching
This commit is contained in:
parent
4b6f4eb000
commit
37efedabd6
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -50,7 +50,7 @@ try {
|
|||
console.log('Configuring deployment key(s)');
|
||||
|
||||
child_process.execFileSync(sshAdd, ['-L']).toString().split(/\r?\n/).forEach(function(key) {
|
||||
const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/);
|
||||
const parts = key.match(/\bgithub\.com[:/]([_.a-zA-Z0-9-]+\/[_.a-zA-Z0-9-]+)/);
|
||||
|
||||
if (!parts) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue