From 0ed14fd55a579a64438bc20d9ee62d689b3c6797 Mon Sep 17 00:00:00 2001 From: ptaylor Date: Wed, 3 Jul 2024 15:52:06 -0700 Subject: [PATCH] don't redirect stderr to /dev/null --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10cdfe2d..5ee973e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -145,14 +145,14 @@ jobs: if test "${pkg_type}" = "module"; then # Test importing as ESModule test_import_esm; - elif "$m" = umd; then + elif test "$m" = umd; then # Test importing UMD as both CommonJS and ESM test_import_cjs; test_import_esm; else # Test importing others as both CommonJS and ESM, but allow ESM to fail test_import_cjs; - test_import_esm 2>/dev/null || true; + test_import_esm || true; fi set +x;