fix: error message

This commit is contained in:
Ivan Shmidt
2020-05-25 10:21:59 +02:00
parent 4fcfc477a4
commit 2f01a5be26
@@ -45,7 +45,7 @@ export class GitHubLocationSource implements LocationSource {
blobKeyword !== 'blob' ||
!restOfPath.join('/').match(/\.yaml$/)
) {
throw new Error();
throw new Error('Wrong GitHub URL');
}
// Removing the "blob" part