[install] Remove the OWTF_DEV flag for the time being
@@ -11,8 +11,6 @@ if [ ! -d "${1}/webui/src/Report/templates" ]; then
echo "${warning} Templates not found, fetching the latest ones...${reset}"
git clone https://github.com/owtf/templates.git "$1/webui/src/Report/templates"
fi
-if [ ! -z "${OWTF_DEV}" ]; then
- echo "OWTF_DEV is set, building the bundle"
# Instead of using apt-get to install npm we will nvm to install npm because apt-get installs older-version of node
echo "${normal}[*] Installing npm using nvm.${reset}"
wget https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh -O /tmp/install_nvm.sh
@@ -38,6 +36,3 @@ if [ ! -z "${OWTF_DEV}" ]; then
echo "${normal}[*] Building using webpack.${reset}"
yarn build
echo "${normal}[*] Build successful${reset}"
-else
- echo "variable OWTF_DEV is not set, using the bundled assets"
-fi
