Browse Source

Clear up yaml

Joachim M. Giæver 3 years ago
parent
commit
8669f153f5
2 changed files with 2 additions and 30 deletions
  1. 1 27
      snap/snapcraft.yaml
  2. 1 3
      src/helper/env-wrapper

File diff suppressed because it is too large
+ 1 - 27
snap/snapcraft.yaml


+ 1 - 3
src/helper/env-wrapper

@@ -113,6 +113,4 @@ fi
 export HOST="${SERVER_HOST}"
 export HOST="${SERVER_HOST}"
 export PORT="${SERVER_PORT}"
 export PORT="${SERVER_PORT}"
 
 
-cd "${SNAP}/lib/node_modules/zwavejs2mqtt"
-
-exec "$@"
+[ "$(basename "${1}")" == "yarn" ] && cd "${SNAP}/lib/node_modules/zwavejs2mqtt" && exec "${@}" || exec "${@}"

Some files were not shown because too many files changed in this diff