Skip to content

Commit

Permalink
Fix cwd of the f command
Browse files Browse the repository at this point in the history
  • Loading branch information
ly0va committed Nov 1, 2020
1 parent d7a9880 commit 950f38b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/zk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/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

0 comments on commit 950f38b

Please sign in to comment.