From f55d0916e7b31ada7378d229a26a120728700bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Mon, 7 Nov 2022 08:10:54 +0100 Subject: Configure npm to prefer IPv4 addresses --- tools/run_eslint.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/run_eslint.sh b/tools/run_eslint.sh index ca47180f..74780f9d 100755 --- a/tools/run_eslint.sh +++ b/tools/run_eslint.sh @@ -2,6 +2,8 @@ # SPDX-License-Identifier: MIT OR LGPL-2.0-or-later # SPDX-FileCopyrightText: 2020 Philip Chimento +export NODE_OPTIONS=--dns-result-order=ipv4first + cd $(dirname -- "$0") npm ci npm run lint -- "$@" -- cgit v1.2.1