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

Enable Lint job on release branches

(cherry picked from commit f1274041ce4dcb5745ab73af277c3a7d99ba332f)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Cody Robibero 2022-05-22 05:27:54 -06:00 committed by crobibero
parent 307e4864a5
commit 1efd07ab2f
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

@ -39,7 +39,7 @@ import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../components/ba
*/
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);