Fix cwd of the f command
#!/bin/bash
-cd $ZKSYNC_HOME/infrastructure/zk
-
if [ -z "$1" ]; then
+ cd $ZKSYNC_HOME/infrastructure/zk
yarn && yarn build
else
- node build/index.js -- "$@"
+ # can't start this with yarn since it has quirks with `--` as an argument
+ node $ZKSYNC_HOME/infrastructure/zk/build/index.js -- "$@"
fi
