From 1429793e33495ef3236fd6ca4c589cb4a071dfad Mon Sep 17 00:00:00 2001 From: juanbono Date: Fri, 15 Dec 2023 16:29:52 -0300 Subject: [PATCH] compile always --- bin/zk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/zk b/bin/zk index d0840cb8d500..e6dd1567b38f 100755 --- a/bin/zk +++ b/bin/zk @@ -1,9 +1,9 @@ #!/usr/bin/env bash -if [ -z "$1" ]; then - cd $ZKSYNC_HOME - yarn && yarn zk build -else +cd $ZKSYNC_HOME +yarn && yarn zk build + +if [ -n "$1" ]; then # can't start this with yarn since it has quirks with `--` as an argument node -- $ZKSYNC_HOME/infrastructure/zk/build/index.js "$@" fi