Bladeren bron

Try fix proxy issue?

Joachim M. Giæver 3 jaren geleden
bovenliggende
commit
5cd881ab7b
1 gewijzigde bestanden met toevoegingen van 1 en 6 verwijderingen
  1. 1 6
      snap/snapcraft.yaml

+ 1 - 6
snap/snapcraft.yaml

@@ -103,6 +103,7 @@ parts:
         export GLOBAL_AGENT_HTTP_PROXY="${http_proxy}"
         export GLOBAL_AGENT_HTTPS_PROXY="${http_proxy}"
       fi
+      yarn set version berry
       yarn --version
       yarn install --immutable
       yarn run build \
@@ -147,12 +148,6 @@ parts:
         - libatomic1
     override-stage: |
       npm install --global yarn
-      if [ -n "${http_proxy-}" ]; then
-        echo "${http_proxy}}"
-        yarn config set httpProxy "${http_proxy}"
-        yarn config set httpsProxy "${http_proxy}"
-      fi
-      yarn set version berry
       snapcraftctl stage
     organize:
       '*.md' : nodejs/