1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3667 from dmitrylyzo/release-lint-job

Enable Lint job on release branches
This commit is contained in:
Cody Robibero 2022-05-22 05:27:54 -06:00 committed by GitHub
commit f1274041ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,9 @@ name: Lint
on:
push:
branches: [ master ]
branches: [ master, release* ]
pull_request:
branches: [ master ]
branches: [ master, release* ]
jobs:
run-eslint:

View file

@ -38,7 +38,7 @@ import { getIncludeCorsCredentials } from '../../scripts/settings/webSettings';
*/
function resolveUrl(url) {
return new Promise((resolve) => {
var xhr = new XMLHttpRequest();
const xhr = new XMLHttpRequest();
xhr.open('HEAD', url, true);
xhr.onload = function () {
resolve(xhr.responseURL || url);