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
(cherry picked from commit f1274041ce
)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
parent
307e4864a5
commit
1efd07ab2f
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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, release* ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master, release* ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-eslint:
|
run-eslint:
|
||||||
|
|
|
@ -39,7 +39,7 @@ import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../components/ba
|
||||||
*/
|
*/
|
||||||
function resolveUrl(url) {
|
function resolveUrl(url) {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
var xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
xhr.open('HEAD', url, true);
|
xhr.open('HEAD', url, true);
|
||||||
xhr.onload = function () {
|
xhr.onload = function () {
|
||||||
resolve(xhr.responseURL || url);
|
resolve(xhr.responseURL || url);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue