Commit e97978dd authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

fix: faster prettier, global args and better verbosity

parent 5933b02d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -13,7 +13,9 @@ docs:prettier:
  script:
    - |
      if ! prettier ${PRETTIER_DEFAULT_ARGS} ${PRETTIER_EXTRA_ARGS} ${PRETTIER_CHECK_PATH}; then
        echo "[!] Run the following in the root of your repository: \
        prettier --write --ignore-unknown ${PRETTIER_EXTRA_ARGS} ${PRETTIER_CHECK_PATH}"
        echo "[!] Run the following in the root of the repository:"
        echo "docker run -u \$(id -u):\$(id -g) -v \"\${PWD}:\${PWD}\" registry.gitlab.com/just-ci/images/prettier:latest \\"
        echo "prettier --write --ignore-unknown ${PRETTIER_EXTRA_ARGS} \${PWD}"
        exit 1
      fi
  needs: []