Browse Source

fix: syntax error: unexpected end of file

Mokhtar Naamani 4 years ago
parent
commit
51fc20479c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      tests/network-tests/run-tests.sh

+ 1 - 3
tests/network-tests/run-tests.sh

@@ -58,6 +58,4 @@ CONTAINER_ID=`docker run -d -v ${DATA_PATH}:/data -p 9944:9944 joystream/node \
   --chain /data/chain-spec-raw.json`
 
 # Execute the tests then stop the container
-yarn workspace network-tests test || echo "Failed Running Tests"
-
-cleanup()
+yarn workspace network-tests test || echo "Failed Running Tests" && cleanup