diff --git a/.s2i/bin/assemble b/.s2i/bin/assemble index 3b443c5..5548d44 100755 --- a/.s2i/bin/assemble +++ b/.s2i/bin/assemble @@ -1,8 +1,9 @@ #!/bin/bash if [ -z "$NPM_PACKAGE_TO_INSTALL" ]; then - echo "Error: NPM_PACKAGE_TO_INSTALL is not defined" - exit 1 + echo "Warning: NPM_PACKAGE_TO_INSTALL is not defined !" + echo "Switching back to the default S2I behavior" + exec "$STI_SCRIPTS_PATH/assemble" fi # Exit on any error