Eugene Pankov 4 anni fa
parent
commit
361f6c2fe5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -260,7 +260,7 @@ jobs:
     - name: Update node-gyp
       run: |
         npm install --global [email protected]
-        for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js"
+        npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
 
     - name: Build
       shell: powershell