Skip to content

Commit

Permalink
remove --openssl-legacy-provider
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Aug 13, 2024
1 parent 560164a commit a06182e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ default: build-static
build-static:
@echo "Building frontend static assets to 'build'"
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
NODE_OPTIONS=--openssl-legacy-provider yarn build
yarn build

test-warnings:
test-warnings build-static:
./check-warnings.sh

test-prettier:
Expand Down
2 changes: 1 addition & 1 deletion web-app/check-warnings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ die() {
try() { "$@" &> yarn.log || die "cannot $*"; }

rm -f yarn.log
try make build-static
try yarn build

if grep "Compiled with warnings" yarn.log; then
echo "There are warnings in the code"
Expand Down

0 comments on commit a06182e

Please sign in to comment.