diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2022-11-07 08:10:54 +0100 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2022-11-09 11:51:22 -0800 |
commit | f55d0916e7b31ada7378d229a26a120728700bbc (patch) | |
tree | 1b90b290effaba19f3045b01bb8d6d222db3ec17 /tools | |
parent | b952a7f7dfdb92e7730e2e3c35d9592f6c7aa1ba (diff) | |
download | gjs-f55d0916e7b31ada7378d229a26a120728700bbc.tar.gz |
Configure npm to prefer IPv4 addresses
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_eslint.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 <philip.chimento@gmail.com> +export NODE_OPTIONS=--dns-result-order=ipv4first + cd $(dirname -- "$0") npm ci npm run lint -- "$@" |