From 19bb8988f83c5da3c3b89e5a8481005927454bb7 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 13 Jul 2022 12:44:34 +0200 Subject: [PATCH] docker/init.sh: Remove unused code This code has no effect because string `master` does not exist in `api/backend-info.ts`. --- docker/init.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/init.sh b/docker/init.sh index 49b53d646..4eb06f0c1 100755 --- a/docker/init.sh +++ b/docker/init.sh @@ -1,10 +1,7 @@ #!/bin/sh #backend -gitMaster="\.\.\/\.git\/refs\/heads\/master" -git ls-remote https://github.com/mempool/mempool.git "$1^{}" | awk '{ print $1}' > ./backend/master cp ./docker/backend/* ./backend/ -sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts #frontend localhostIP="127.0.0.1"