From 8f4e87dd1ff7bf7d8c6680cd277042cb1c3dd375 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sun, 22 May 2022 13:51:00 +0300 Subject: [PATCH 1/2] Enable Lint job on release branches --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1666d34092..2dc10baed7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,9 @@ name: Lint on: push: - branches: [ master ] + branches: [ master, release* ] pull_request: - branches: [ master ] + branches: [ master, release* ] jobs: run-eslint: From f2c747ce190e59abfac10834e5f5a2aa872104de Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Sat, 21 May 2022 23:37:30 +0300 Subject: [PATCH 2/2] Fix lint --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 843b90ae5b..423e081a2b 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -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);