From 3cf2ffa7bdc91f533708b451dbb3cdef81299aa9 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 27 Nov 2023 10:47:12 +0000 Subject: [PATCH] [AAE-18464] fix bundle check for js-api (#9117) --- scripts/github/build/npm-check-bundles.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/github/build/npm-check-bundles.sh b/scripts/github/build/npm-check-bundles.sh index 22cec3dc23..d61302befe 100755 --- a/scripts/github/build/npm-check-bundles.sh +++ b/scripts/github/build/npm-check-bundles.sh @@ -37,8 +37,8 @@ do tar zxf 'alfresco-'$PACKAGE-$PKG_VERSION.tgz if [ $PACKAGE == 'js-api' ]; then - if [ ! -f package/esm2020/'alfresco-js-api.mjs' ]; then - error_out '31;1' "esm2020/alfresco-js-api.mjs not found!" >&2 + if [ ! -f package/esm2015/'index.js' ]; then + error_out '31;1' "esm2015/index.js not found!" >&2 exit 1 else echo "esm2020: ok"