mirror of https://github.com/docker/docs.git
Removing unnecessary check
This commit is contained in:
parent
64ed3b7a35
commit
2a7d8230d3
|
@ -49,7 +49,7 @@ ipc.on('application:open-url', opts => {
|
|||
var repo = tokens.slice(2).join('/');
|
||||
|
||||
// Only accept official repos for now
|
||||
if (repo.indexOf('/') !== -1 || !util.isOfficialRepo(repo)) {
|
||||
if (!util.isOfficialRepo(repo)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue