Add comment for supported repos

This commit is contained in:
Jeffrey Morgan 2015-04-15 15:46:45 -04:00
parent ebc1143723
commit 4b1291c952
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ ipc.on('application:open-url', opts => {
var method = tokens[1];
var repo = tokens.slice(2).join('/');
// Only accept official repos for now
if (repo.indexOf('/') !== -1 || !repoRegexp.test(repo)) {
return;
}