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:
commit
f1274041ce
2 changed files with 3 additions and 3 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -2,9 +2,9 @@ name: Lint
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ master, release* ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ master, release* ]
|
||||
|
||||
jobs:
|
||||
run-eslint:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue