Removing unnecessary check

This commit is contained in:
Jeffrey Morgan 2015-04-16 15:27:14 -04:00
parent 64ed3b7a35
commit 2a7d8230d3
1 changed files with 1 additions and 1 deletions

View File

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